mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
refactor(FE-137): enable clearable option for select inputs in RecordingForm
This commit is contained in:
@@ -1146,6 +1146,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
}}
|
}}
|
||||||
isSearchable
|
isSearchable
|
||||||
isDisabled={type === 'detail'}
|
isDisabled={type === 'detail'}
|
||||||
|
isClearable={type !== 'detail'}
|
||||||
startAdornment={
|
startAdornment={
|
||||||
stock.product_warehouse_id
|
stock.product_warehouse_id
|
||||||
? getProductFlagBadgeAdornment(stock.product_warehouse_id)
|
? getProductFlagBadgeAdornment(stock.product_warehouse_id)
|
||||||
@@ -1343,6 +1344,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
wrapper: 'w-full min-w-32',
|
wrapper: 'w-full min-w-32',
|
||||||
}}
|
}}
|
||||||
isSearchable={false}
|
isSearchable={false}
|
||||||
|
isClearable={type !== 'detail'}
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user