Commit 9ac43037 authored by Maksym Tishchenko's avatar Maksym Tishchenko
Browse files

Merge branch '401-viability-allow-null-for-normal-сount' into 'main'

Viability: Allow null for normalCount

Closes #401

See merge request grin-global/grin-global-ui!390
parents ae83e11b 85123430
......@@ -138,8 +138,7 @@ const ViabilityDataForm = ({ t, onSubmit, initialValues, classes, error }: FormP
previousData={ props.initialValues.previousData }
label={ t(['client:model.InventoryViabilityData.normalCount', 'client:model._.normalCount']) }
helperText={ t(['client:model.InventoryViabilityData.normalCount_hint', 'client:model._.normalCount_hint']) }
validate={ validateRequiredPositiveInteger }
required
validate={ validatePositiveInteger }
/>
</Grid>
<Grid item xs={ 12 } sm={ 6 }>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment