feat: fix UI inventory item adjustment dialog.

This commit is contained in:
a.bouhuolia
2021-01-17 17:34:10 +02:00
parent 0b0367dd06
commit 79f9190de3
3 changed files with 30 additions and 26 deletions

View File

@@ -113,7 +113,7 @@ function InventoryAdjustmentFormDialogFields({
labelInfo={<FieldRequiredHint />}
intent={inputIntent({ error, touched })}
helperText={<ErrorMessage name="reason" />}
className={'from-group--adjustment-account'}
className={'form-group--adjustment-account'}
>
<AccountsSuggestField
accounts={accountsList}
@@ -137,7 +137,7 @@ function InventoryAdjustmentFormDialogFields({
label={<T id={'reference_no'} />}
intent={inputIntent({ error, touched })}
helperText={<ErrorMessage name="reference_no" />}
className={'from-group--reference-no'}
className={'form-group--reference-no'}
>
<InputGroup {...field} />
</FormGroup>
@@ -152,12 +152,10 @@ function InventoryAdjustmentFormDialogFields({
className={'form-group--adjustment-reasons'}
intent={inputIntent({ error, touched })}
helperText={<ErrorMessage name={'adjustment_reasons'} />}
placeholder={'Max 500 characters'}
>
<TextArea
growVertically={true}
large={true}
placeholder={'Max 500 characters.'}
{...field}
/>
</FormGroup>