mirror of https://github.com/kcal-app/kcal.git
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:
parent
e1af68941c
commit
5f19cb44dd
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue