[polymer-dev] how to use paper-input to show errors

2016-01-27 Thread Colin Cannon
>From reading the docs I can't figure out how to use paper-input to show 
errors on input.  I use iron-ajax to make a request to my server and it 
returns info on whether my fields were valid or not along with an error 
description.  How can I use polymer to update paper-input to show the 
errors.  Any body know of a resource that shows examples or something for a 
dummy like me??? please help

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/ad943d32-0fc4-4f3d-bca2-602086b97090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] how to use paper-input to show errors

2016-01-27 Thread Karl Tiedt
If you look at the demo for paper-input there are examples...

https://elements.polymer-project.org/elements/paper-input?view=demo:demo/index.html=paper-input

the section 'Inputs can validate automatically or on demand, and can have
custom error messages' shows validation/error messages in use

-Karl Tiedt

On Wed, Jan 27, 2016 at 9:49 AM, Colin Cannon  wrote:

> From reading the docs I can't figure out how to use paper-input to show
> errors on input.  I use iron-ajax to make a request to my server and it
> returns info on whether my fields were valid or not along with an error
> description.  How can I use polymer to update paper-input to show the
> errors.  Any body know of a resource that shows examples or something for a
> dummy like me??? please help
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/ad943d32-0fc4-4f3d-bca2-602086b97090%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHHDsx2ROd9XMDns5BE3VrXeHRO_OgCCqq%2BA7nsFT8eRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.