You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes custom templates may involve multiple directives referring to the same ng-model. For example:
<divclass="dropdown"><inputng-model="model[options.key]"><adata-toggle="dropdown">Click here to show calendar</a><ulclass="dropdown-menu"><datetimepickerng-model="model[options.key]"></datetimepicker></ul></div>
In this situation, formly adds the same attributes to both the input and datetimepicker.
We can tell the manipulator to skip ALL attributes using skipNgModelAttrsManipulator, but what we really want is to just ignore the one on datetimepicker.
It would be great to be able to add an attribute to the actual element so it is ignored:
Sometimes custom templates may involve multiple directives referring to the same
ng-model. For example:In this situation, formly adds the same attributes to both the
inputanddatetimepicker.We can tell the manipulator to skip ALL attributes using
skipNgModelAttrsManipulator, but what we really want is to just ignore the one ondatetimepicker.It would be great to be able to add an attribute to the actual element so it is ignored: