Skip to content

Commit

Permalink
feat(SaveSegmentGroupDialog): use select, not radio
Browse files Browse the repository at this point in the history
For file format selection
  • Loading branch information
PaulHax committed Feb 21, 2024
1 parent 40ee9c3 commit d41ec7b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/components/SaveSegmentGroupDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
id="filename"
/>

<v-radio-group v-model="fileFormat" label="Format">
<v-radio v-for="ext in EXTENSIONS" :key="ext" :value="ext">
<template #label>
{{ ext }}
</template>
</v-radio>
</v-radio-group>
<v-select
label="Format"
v-model="fileFormat"
:items="EXTENSIONS"
></v-select>
</v-form>
</v-card-text>
<v-card-actions>
Expand Down Expand Up @@ -65,7 +63,7 @@ const props = defineProps<{
const fileName = ref('');
const valid = ref(true);
const saving = ref(false);
const fileFormat = ref(EXTENSIONS[0]);
const fileFormat = ref(EXTENSIONS[1]);
const segmentGroupStore = useSegmentGroupStore();
Expand Down

0 comments on commit d41ec7b

Please sign in to comment.