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...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…