I wrote a snippet and not working with national characters. The "A törzsszám"... text appear "törzsszám" with my loginstatus field.
Main html:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="hu" xml:lang="en">
<head>
<meta charset="utf-8">
....
Login.html
<polymer-element name="login-element" attributes="loginrow">
<template>
...
<div>
<input type="text" value="{{torzsszam}}">
...
<br>
<span>({{loginstatus}})</span>
</div>
</template>
<script type="application/dart" src="login.dart"></script>
</polymer-element>
..and the login.dart snippet:
@CustomTag('login-element')
class Login extends PolymerElement {
bool loginned = false;
@published String torzsszam = "";
@published String password = "";
@published String loginstatus = "-";
...
void log_in_click() {
loginstatus="LOGIN";
loginned = false;
if (torzsszam != "" ) {
if (torzsszam.length>8) {
loginstatus='A törzsszám legfeljebb 8 számjegyből áll!';
} else {
What can I do...