mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +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
|
||||
isDisabled={type === 'detail'}
|
||||
isClearable={type !== 'detail'}
|
||||
startAdornment={
|
||||
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',
|
||||
}}
|
||||
isSearchable={false}
|
||||
isClearable={type !== 'detail'}
|
||||
/>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user