Skip to content

Commit c2f768b

Browse files
- Fixed "ngMaskEditField" to ignore ErrorHint child control.
1 parent 70d19c0 commit c2f768b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/ng_controls/viewmodel/ui/viewmodel_ui.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,18 @@ ngUserControls['viewmodel_ui'] = {
11241124
* Mask edit field control (based on <ngMaskEdit>).
11251125
*/
11261126
/*<>*/
1127-
ngRegisterControlMod('ngMaskEditField', 'ngMaskEdit', Create_EditField);
1127+
ngRegisterControlMod('ngMaskEditField', 'ngMaskEdit', function(def, ref, parent, modtype)
1128+
{
1129+
ng_MergeDef(def, {
1130+
ErrorHint: {
1131+
Data: {
1132+
ToolBarIgnore: true
1133+
}
1134+
}
1135+
});
1136+
1137+
return Create_EditField(def, ref, parent, modtype);
1138+
});
11281139
}
11291140

11301141
/* Class: ngDropDownField

0 commit comments

Comments
 (0)