fix(components): remove type assertion from body of genre picker component
This commit is contained in:
parent
e50fd2aba9
commit
519772fd88
@ -6,7 +6,9 @@
|
|||||||
value: a,
|
value: a,
|
||||||
label: a,
|
label: a,
|
||||||
}));
|
}));
|
||||||
const { value, errorMessage, name, setValue } = useField(fname + "genre");
|
const { value, errorMessage, name, setValue } = useField<string[]>(
|
||||||
|
fname + "genre",
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<a-form-item
|
<a-form-item
|
||||||
@ -17,7 +19,7 @@
|
|||||||
<a-select
|
<a-select
|
||||||
:allow-clear="true"
|
:allow-clear="true"
|
||||||
:options="opts"
|
:options="opts"
|
||||||
v-model:value="value as string[]"
|
v-model:value="value"
|
||||||
mode="multiple"
|
mode="multiple"
|
||||||
>
|
>
|
||||||
<template #removeIcon>
|
<template #removeIcon>
|
||||||
|
Loading…
Reference in New Issue
Block a user