fix: correct translation function call in Sidebar and add required fields in AddProduct form

This commit is contained in:
2026-05-30 11:33:45 +02:00
parent c55cb8a69a
commit 2d3450331a
3 changed files with 43 additions and 2 deletions
+2
View File
@@ -89,6 +89,7 @@ export const AddProduct = () => {
{(field) => (
<Input
type="text"
required
value={field.state.value}
onChange={(e) => field.handleChange(e.target.value)}
onBlur={field.handleBlur}
@@ -217,6 +218,7 @@ export const AddProduct = () => {
<form.Field name="storage_location_uuid">
{(field) => (
<Select
required
value={field.state.value}
onChange={(_event, value) =>
field.handleChange(value ?? "")