No. This is the ful code
<polymer-element name="nolajn-prijava">
<template>
<paper-input required label="Uporabniško ime" error="Ta polje je obvezno"
id="paper_input" floatingLabel></paper-input><br />
<paper-input-decorator id="paper_input1" label="Geslo" floatingLabel>
<input required error="To polje je obvezno" id="password"
is="core-input" name="j_password" type="password" value="{{j_password}}"/>
</paper-input-decorator>
<div id="div" layout horizontal>
</div>
<paper-fab id="check" icon="check"
showing?="{{$.paper_input.value.length && $.password.value.length !==
undefined}}" on-tap="{{submitLogin}}"></paper-fab>
</template>
<script>
Polymer('nolajn-prijava',
{
});
</script>
</polymer-element>
paper-fab is visible when user types in username. But I want for paper-fab
to be visible when user insert both username and password. Any clue? Am I
missing something?
V Wed Dec 24 2014 at 19:39:52 je oseba Eric Bidelman <[email protected]>
napisala:
> Does $.password.value not work?
>
> On Wed, Dec 24, 2014 at 7:21 AM, <[email protected]> wrote:
>
>> I want to make a simple login form, with a paper-fab element, and I want
>> to show paper-fab only when user type in username and password.
>> My code:
>> <paper-input label="Uporabniško ime" id="paper_input"></paper-input><br />
>> <paper-input-decorator id="paper_input1" label="Geslo">
>> <input id="password" is="core-input" name="j_password"
>> type="password" value="{{j_password}}"/>
>> </paper-input-decorator>
>> <div id="div" layout horizontal></div>
>> <paper-fab id="check" icon="check" showing?="{{$.paper_input.value.length
>> && $.password.value.length !== undefined}}"></paper-fab>
>>
>> So, how can I access to password input value?
>>
>> Thank you in advance!
>>
>> Regards,
>> Tadej Golobič
>>
>> 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/bf9bf532-2496-4833-8958-560f0a7ad950%40googlegroups.com
>> <https://groups.google.com/d/msgid/polymer-dev/bf9bf532-2496-4833-8958-560f0a7ad950%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/CAB9tVXSuj3iWkF2b7RbsM7DCPpTWt3sT2LoCK%2B4dRqBQFrEizg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.