We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ba01f6 commit 8517b01Copy full SHA for 8517b01
webserver/src/components/EditRecipe.tsx
@@ -212,6 +212,7 @@ const IngredientsEditor: Component<{
212
onFocus={disableDraggable} onBlur={enableDraggable} />
213
<input type="text"
214
name={`ingredient.${index()}.name`} value={ingredient.name}
215
+ required
216
list={props.ingredientsDatalistId}
217
onInput={event => setIngredients(i => i === unwrap(ingredient), "name", event.currentTarget.value)}
218
placeholder="Ingredient" style={{ width: "10em" }}
0 commit comments