File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
projects/ccd-case-ui-toolkit
src/lib/shared/pipes/complex Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @hmcts/ccd-case-ui-toolkit" ,
3- "version" : " 7.2.59" ,
3+ "version" : " 7.2.59-3481 " ,
44 "engines" : {
55 "node" : " >=18.19.0"
66 },
Original file line number Diff line number Diff line change 11{
22 "name" : " @hmcts/ccd-case-ui-toolkit" ,
3- "version" : " 7.2.59" ,
3+ "version" : " 7.2.59-3481 " ,
44 "engines" : {
55 "node" : " >=18.19.0"
66 },
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export class ReadFieldsFilterPipe implements PipeTransform {
117117 } else if ( field . show_condition ) {
118118 let cond : ShowCondition ;
119119 if ( fieldId && field . show_condition . indexOf ( `${ fieldId } .` ) > - 1 && ! formGroupAvailable && ! ! Object . keys ( formValue ) . length ) {
120- const search = `${ fieldId } .` ;
120+ const search = `/.* ${ fieldId } ./ ` ;
121121 const searchRegExp = new RegExp ( search , 'g' ) ;
122122 const replaceWith = '' ;
123123 cond = ShowCondition . getInstance ( field . show_condition . replace ( searchRegExp , replaceWith ) ) ;
You can’t perform that action at this time.
0 commit comments