Re-add default input to ingredient picker units

This prevents accidentally setting a different value for an existing entry
with an unsupported unit.
This commit is contained in:
Christopher C. Wells 2021-04-04 15:51:22 -07:00
parent e1af68941c
commit 5f19cb44dd
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
class="block" class="block"
:options="$units_supported ?? []" :options="$units_supported ?? []"
:selectedValue="$unit ?? null"> :selectedValue="$unit ?? null">
<option value="" selected>Unit</option>
</x-inputs.select> </x-inputs.select>
<x-inputs.input name="ingredients[detail][]" <x-inputs.input name="ingredients[detail][]"
type="text" type="text"