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 }) => {
|
loadChildren: ({ searchValue }) => {
|
||||||
return collections
|
return collections
|
||||||
.filter((item) => !item.hidden && item.title.includes(searchValue))
|
.filter((item) => !item.hidden && item.title.toLowerCase().includes(searchValue.toLowerCase()))
|
||||||
.map((item) => ({
|
.map((item) => ({
|
||||||
key: `createRecordForm-child-${item.name}`,
|
key: `createRecordForm-child-${item.name}`,
|
||||||
type: 'item',
|
type: 'item',
|
||||||
|
@ -85,7 +85,7 @@ export default {
|
|||||||
},
|
},
|
||||||
loadChildren: ({ searchValue }) => {
|
loadChildren: ({ searchValue }) => {
|
||||||
return collections
|
return collections
|
||||||
.filter((item) => !item.hidden && item.title.includes(searchValue))
|
.filter((item) => !item.hidden && item.title.toLowerCase().includes(searchValue.toLowerCase()))
|
||||||
.map((item) => ({
|
.map((item) => ({
|
||||||
key: `updateRecordForm-child-${item.name}`,
|
key: `updateRecordForm-child-${item.name}`,
|
||||||
type: 'item',
|
type: 'item',
|
||||||
|
Loading…
Reference in New Issue
Block a user