Closed e00dan closed 9 years ago
How to bind existing value to em-input? Using {{input value=model.firstName}} works, but
{{input value=model.firstName}}
{{em-input property="name" label="Nazwa konta" placeholder="Podaj nazwę" value=model.firstName}}
doesn't. It renders empty input and doesn't update model value.
It was my mistake. I used property="name" instead of property="firstName". Now it works as expected. ; )
property="name"
property="firstName"
How to bind existing value to em-input? Using
{{input value=model.firstName}}
works, butdoesn't. It renders empty input and doesn't update model value.