-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Allow ng-trim to work on radio buttons #11859
Comments
|
@Narretz while I agree with your analysis, it looks odd that this radio button is not selected, no? |
Yeah, that's odd ... |
When the |
It's also possible that the trimming happens when angular creates the |
I've created an updated fiddle that shows the value as seen by the browser, and proves this to be an Angular problem, not a browser one: http://jsfiddle.net/rgewfgbL/6/ |
Allow elements of type input[type=radio] to specify ng-trim. Do not trim attributes values by default. BREAKING CHANGE: Attribute values are not trimmed by default Migration: when depending on attribute values to be trimmed, then manually trim them. Close: angular#11859
Please fix this one.
|
Allow input[type=radio] elements to specify ng-trim. Closes: angular#12091 Fixes: angular#11859
Allow input[type=radio] elements to specify ng-trim. Closes: angular#12091 Fixes: angular#11859
Allow input[type=radio] elements to specify ng-trim. Closes: angular#12091 Fixes: angular#11859
I'd like to have the option to use ng-trim on radio inputs, not just text inputs. I'm using Angular 1.2.x, but have confirmed the feature is not available in 1.3.x or 1.4.x.
JSFiddle example against 1.4.x: http://jsfiddle.net/rgewfgbL/5/
The text was updated successfully, but these errors were encountered: