support new location selector in create item

This commit is contained in:
Hayden 2023-01-29 13:07:07 -09:00
parent 5f2000cd25
commit a5d4a6248c
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -2,7 +2,7 @@
<BaseModal v-model="modal"> <BaseModal v-model="modal">
<template #title> Create Item </template> <template #title> Create Item </template>
<form @submit.prevent="create(true)"> <form @submit.prevent="create(true)">
<FormSelect v-model="form.location" label="Location" :items="locations ?? []" /> <LocationSelector v-model="form.location" />
<FormTextField <FormTextField
ref="locationNameRef" ref="locationNameRef"
v-model="form.name" v-model="form.name"