File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
documentation/docs/tutorial/03-Customization Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,10 @@ class ClickhouseConnector extends AdminForthBaseConnector implements IAdminForth
207
207
const column = resource . dataSourceColumns . find ( ( col ) => col . name == field ) ;
208
208
let placeholder = `{f$?:${ column . _underlineType } }` ;
209
209
let operator = this . OperatorsMap [ filter . operator ] ;
210
+ if ( ( filter . operator == AdminForthFilterOperators . LIKE || filter . operator == AdminForthFilterOperators . ILIKE ) && column . _underlineType == 'UUID' ) {
211
+ placeholder = '{f$?:String}' ;
212
+ field = `toString(${ field } )` ;
213
+ }
210
214
if ( filter . operator == AdminForthFilterOperators . IN || filter . operator == AdminForthFilterOperators . NIN ) {
211
215
placeholder = `(${ filter . value . map ( ( _ , j ) => `{p$?:${ column . _underlineType } }` ) . join ( ', ' ) } )` ;
212
216
} else if ( filter . operator == AdminForthFilterOperators . EQ && filter . value === null ) {
Original file line number Diff line number Diff line change @@ -996,6 +996,7 @@ any of native settings to `options` prop. Here we will only show some basics.
996
996
}
997
997
//diff-add
998
998
}
999
+ //diff-add
999
1000
}
1000
1001
}"
1001
1002
/>
You can’t perform that action at this time.
0 commit comments