Hello Michael
Your answer is useful but from other answers in all the web that I read.
But steel I don't know that how can I send a form that are include of same
polymer elements (like core-dropdown, paper-input etc.) to my server.
Can you help me?
در چهارشنبه 9 آوریل 2014، ساعت 12:48:09 (UTC+4:30)، Michael Bleigh نوشته:
>
> I don't know all the ins and outs, but this appears to work for me:
>
> <!doctype html>
> <html>
> <head>
> <script src="platform/platform.js"></script>
> <link rel="import" href="polymer/polymer.html">
> <polymer-element name="super-input" extends="input" attributes="value
> name" noscript>
> <template>
> <style>:host{ border: 0; padding: 0; }</style>
> This is my <input value="{{value}}">
> </template>
> </polymer-element>
> </head>
> <body>
> <form method='get'>
> <input is="super-input" value="whatever" name='test'>
> <button type="submit">Submit</button>
> </form>
> </body>
> </html>
>
> Hope that helps!
>
> On Wednesday, April 9, 2014 1:08:01 AM UTC-7, Günter Zöchbauer wrote:
>>
>> Is there a way to make a polymer element behave like a DOM input element
>> - it's data gets sent on submit
>> - participate in validation
>> - ...?
>>
>> I thought this was a common requirement but I only found one unanswered
>> SO question.
>>
>> Günter
>>
>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/051aabf3-271b-4b01-9c57-1378e13ea041%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.