chore: show --- for empty values in autocomplete
This commit is contained in:
parent
016ba890ca
commit
7dbeb23728
@ -29,7 +29,7 @@ export const organizationsStore = defineStore('crm-organizations', () => {
|
|||||||
|
|
||||||
function getOrganizationOptions() {
|
function getOrganizationOptions() {
|
||||||
return [
|
return [
|
||||||
{ label: '', value: '' },
|
{ label: '---', value: '' },
|
||||||
...organizations.data?.map((org) => ({
|
...organizations.data?.map((org) => ({
|
||||||
label: org.name,
|
label: org.name,
|
||||||
value: org.name,
|
value: org.name,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user