Open egorovpavel opened 9 years ago
there may be number of cases when this is not possible due to form markup. One possible solution is to use *[name] instead .form-control['name']
*[name]
.form-control['name']
seems it breaks only one spec which tests .form-control class for existence. So there is no reason to restrict to .form-control.
just one of use cases may be directives similar to ui-select or other no standard form controls.
+1 because not requiring form-control would also mean that this would work on bootstrap radio buttons, which was added in 2.2.0 but reverted away from in 2.3.0.
form-control
FYI, this was broken to fix #13.
there may be number of cases when this is not possible due to form markup. One possible solution is to use
*[name]
instead.form-control['name']
seems it breaks only one spec which tests .form-control class for existence. So there is no reason to restrict to .form-control.
just one of use cases may be directives similar to ui-select or other no standard form controls.