title: Nativescript TextField max length
body: <p>Is it possible to set maximum length of <code>TextField</code> in <code>Nativescript</code> using <code>javascript</code>? There is no <code>CSS</code> value for that. I haven't been able to get it working from <code>javascript</code> code.
  Any idea,how to do that ?</p>