UI grid : editableCellTemplate maxlength concept is not working in IE

8 views
Skip to first unread message

kdgo...@gmail.com

unread,
Jul 10, 2018, 9:22:14 AM7/10/18
to UI-Grid Support
example: Added below code for minlength and maxlength to edit cell fields. this is working fine in chrome but not working in Interner Explorer. Please can anyone provide solution

 {field: 'company', displayName: 'Company', enableColumnMenu: false,editableCellTemplate:
    "<div><form name=\"inputForm\"><input type=\"INPUT_TYPE\" ng-class=\"'colt' + col.uid\" ui-grid-editor ng-model=\"MODEL_COL_FIELD\"  minlength=3 maxlength=10 required><div ng-show=\"!inputForm.$valid\"><span class=\"error\">Too short!</span></div></form></div>"},

mportugal

unread,
Jul 10, 2018, 10:59:53 AM7/10/18
to UI-Grid Support
IE does not support that attribute:
https://caniuse.com/#feat=input-minlength
Reply all
Reply to author
Forward
0 new messages