@@ -19,7 +19,7 @@ import { IButtonGroupEventArgs, IgxButtonGroupComponent } from '../buttonGroup/b
1919import { IgxChipComponent } from '../chips/chip.component' ;
2020import { IQueryBuilderResourceStrings , QueryBuilderResourceStringsEN } from '../core/i18n/query-builder-resources' ;
2121import { PlatformUtil } from '../core/utils' ;
22- import { DataType } from '../data-operations/data-util' ;
22+ import { DataType , DataUtil } from '../data-operations/data-util' ;
2323import { IgxBooleanFilteringOperand , IgxDateFilteringOperand , IgxDateTimeFilteringOperand , IgxNumberFilteringOperand , IgxStringFilteringOperand , IgxTimeFilteringOperand } from '../data-operations/filtering-condition' ;
2424import { FilteringLogic , IFilteringExpression } from '../data-operations/filtering-expression.interface' ;
2525import { FilteringExpressionsTree , IExpressionTree , IFilteringExpressionsTree } from '../data-operations/filtering-expressions-tree' ;
@@ -738,7 +738,7 @@ export class IgxQueryBuilderTreeComponent implements AfterViewInit, OnDestroy {
738738 this . _editedExpression . expression . fieldName = this . selectedField . field ;
739739 this . _editedExpression . expression . condition = this . selectedField . filters . condition ( this . selectedCondition ) ;
740740 this . _editedExpression . expression . conditionName = this . selectedCondition ;
741- this . _editedExpression . expression . searchVal = actualSearchValue ;
741+ this . _editedExpression . expression . searchVal = DataUtil . parseValue ( this . selectedField . dataType , actualSearchValue ) || actualSearchValue ;
742742 this . _editedExpression . fieldLabel = this . selectedField . label
743743 ? this . selectedField . label
744744 : this . selectedField . header
0 commit comments