-
Notifications
You must be signed in to change notification settings - Fork 39
Proper handling of Paper elements #63
Comments
ajax-form needs some way to easily identify custom checkbox/radio elements without hard-coding custom element names. The best way to do this seems to be to rely on a So, everything should work fine (according to the unit tests) assuming you have the proper |
They have such roles (added in JS by polymer):
and
and yet, they're still ignored by Ajax Form |
Then there must be some other issue specific to your setup that is not obvious by looking at your markup. Role based checkbox and radio button handling absolutely works in Ajax form as far as I can tell, and the automated browser tests back this up. If you are seeing something different and are able to conclusively determine that there is an issue with this library, please provide a link when this can be reproduced live. On Mon, May 25, 2015 at 5:25 PM, Kamil [email protected] wrote:
|
How I can send you a PM with access? |
Please create a publicly accessible instance that reproduces the issue. You can use, for example, jsfiddle, jsbin, or something similar. On Mon, May 25, 2015 at 6:25 PM, Kamil [email protected] wrote:
|
I see it impossible to add polymer elements and ajax-form library dependences in jsfiddle or jsbin.
you will have a complete example. Could you please look at it? |
Sorry, I really don't have time. If you want me to investigate further, please provide a public link to an example where I can quickly reproduce. It would be helpful to hear why exactly your case isn't working and what is wrong with the code, since there is unit test coverage. On Thu, May 28, 2015 at 8:03 AM, Kamil [email protected] wrote:
|
There are three Paper elements not handled correctly by Ajax Form 2.0.0
1)Paper checkbox
Even though paper checkbox have - like regular checkbox - an "checked" attribute, Ajax form doesn't take it into consideration. One have to do a workaround like this:
2)Paper checkbox group
Same here:
The workaround is:
And last, but not least, paper radio group, which has standard "selected" attribute is not working as well:
The workaround:
Can you please fix it?
Kind regards
The text was updated successfully, but these errors were encountered: