-
-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for "list" as pairlist config type
- Loading branch information
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script setup lang="ts"> | ||
const values = defineModel<string[]>({ required: true }); | ||
</script> | ||
|
||
<template> | ||
<div class="d-flex flex-row gap-2"> | ||
<div class="d-flex gap-1 flex-column w-100"> | ||
<div v-for="(val, idx) in values" :key="val" class="d-flex flex-row gap-1"> | ||
<BFormInput v-model="values[idx]" size="sm"></BFormInput> | ||
<BButton | ||
size="sm" | ||
variant="outline-secondary" | ||
title="Delete this value." | ||
@click="values.splice(idx, 1)" | ||
> | ||
<i-mdi-delete /> | ||
</BButton> | ||
</div> | ||
</div> | ||
<BButton | ||
size="sm" | ||
:title="`Add new value`" | ||
variant="secondary" | ||
class="ms-auto mt-auto" | ||
@click="values.push('')" | ||
><i-mdi-plus-box-outline /> | ||
</BButton> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters