fix(workflow): should change letter to lower case when searching in Add block
This commit is contained in:
parent
ff16f59908
commit
a56e4d1ec6
@ -44,7 +44,7 @@ export default {
|
||||
},
|
||||
loadChildren: ({ searchValue }) => {
|
||||
return collections
|
||||
.filter((item) => !item.hidden && item.title.includes(searchValue))
|
||||
.filter((item) => !item.hidden && item.title.toLowerCase().includes(searchValue.toLowerCase()))
|
||||
.map((item) => ({
|
||||
key: `createRecordForm-child-${item.name}`,
|
||||
type: 'item',
|
||||
|
@ -85,7 +85,7 @@ export default {
|
||||
},
|
||||
loadChildren: ({ searchValue }) => {
|
||||
return collections
|
||||
.filter((item) => !item.hidden && item.title.includes(searchValue))
|
||||
.filter((item) => !item.hidden && item.title.toLowerCase().includes(searchValue.toLowerCase()))
|
||||
.map((item) => ({
|
||||
key: `updateRecordForm-child-${item.name}`,
|
||||
type: 'item',
|
||||
|
Loading…
Reference in New Issue
Block a user