feature/IO-3544-Ant-Select-Deprecation - Make cdklike-dms-post-form.jsx compatible with search on the payer name

This commit is contained in:
Dave
2026-02-18 13:50:46 -05:00
parent 1b84087ef8
commit 8422ea83ae

View File

@@ -273,6 +273,10 @@ export default function CdkLikePostForm({ bodyshop, socket, job, logsRef, mode,
rules={[{ required: true }]}
>
<Select
showSearch={{
optionFilterProp: "label",
filterOption: (input, option) => option.label.toLowerCase().includes(input.toLowerCase())
}}
style={{ width: "100%" }}
onSelect={(value) => handlePayerSelect(value, index)}
options={bodyshop.cdk_configuration?.payers?.map((payer) => ({