Merged in feature/IO-3544-Ant-Select-Deprecation (pull request #3010)
feature/IO-3544-Ant-Select-Deprecation - Make cdklike-dms-post-form.jsx compatible with search on the payer name
This commit is contained in:
@@ -273,6 +273,10 @@ export default function CdkLikePostForm({ bodyshop, socket, job, logsRef, mode,
|
|||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
|
showSearch={{
|
||||||
|
optionFilterProp: "label",
|
||||||
|
filterOption: (input, option) => option.label.toLowerCase().includes(input.toLowerCase())
|
||||||
|
}}
|
||||||
style={{ width: "100%" }}
|
style={{ width: "100%" }}
|
||||||
onSelect={(value) => handlePayerSelect(value, index)}
|
onSelect={(value) => handlePayerSelect(value, index)}
|
||||||
options={bodyshop.cdk_configuration?.payers?.map((payer) => ({
|
options={bodyshop.cdk_configuration?.payers?.map((payer) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user