Merged in feature/IO-3600-Job-Line-Close-Select-Box-Filter (pull request #3096)
IO-3600 Job Line Close Select Box Filter Approved-by: Dave Richer
This commit is contained in:
@@ -138,7 +138,7 @@ export function JobsCloseLines({ bodyshop, job, jobRO }) {
|
|||||||
showSearch={{
|
showSearch={{
|
||||||
optionFilterProp: "children",
|
optionFilterProp: "children",
|
||||||
filterOption: (input, option) =>
|
filterOption: (input, option) =>
|
||||||
option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
option?.value?.toLowerCase().indexOf(input?.toLowerCase()) >= 0
|
||||||
}}
|
}}
|
||||||
disabled={jobRO}
|
disabled={jobRO}
|
||||||
options={bodyshop.md_responsibility_centers.profits.map((p) => ({
|
options={bodyshop.md_responsibility_centers.profits.map((p) => ({
|
||||||
@@ -166,7 +166,7 @@ export function JobsCloseLines({ bodyshop, job, jobRO }) {
|
|||||||
showSearch={{
|
showSearch={{
|
||||||
optionFilterProp: "children",
|
optionFilterProp: "children",
|
||||||
filterOption: (input, option) =>
|
filterOption: (input, option) =>
|
||||||
option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
option?.value?.toLowerCase().indexOf(input?.toLowerCase()) >= 0
|
||||||
}}
|
}}
|
||||||
disabled={jobRO}
|
disabled={jobRO}
|
||||||
options={bodyshop.md_responsibility_centers.profits.map((p) => ({
|
options={bodyshop.md_responsibility_centers.profits.map((p) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user