angular-bootstrap-show-errors icon indicating copy to clipboard operation
angular-bootstrap-show-errors copied to clipboard

why .form-control is required?

Open egorovpavel opened this issue 10 years ago • 2 comments

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.

egorovpavel avatar Apr 28 '15 16:04 egorovpavel

+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.

chrisfosterelli avatar May 14 '15 08:05 chrisfosterelli

FYI, this was broken to fix #13.

leoetlino avatar Jul 01 '15 16:07 leoetlino