title: maxlength property not working with javafx webview
body: <p>I'm developing an application using Struts2. </p>
  
  <p>It works fine in Chrome/IE etc. On <a href="https://docs.oracle.com/javase/8/javafx/api/javafx/scene/web/WebView.html" rel="nofollow">JavaFX webview</a> the <code>maxlength</code> property doesn't restrict the user input to the specified amount.</p>
  
  <p>Sample code:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;s:textfield  name = "user_cno" 
               label = "Contact No" 
                  id = "idContactNo" 
               class = "inputField" 
           maxlength = "10" /&gt;
  </code></pre>
  
  <p>I've tried changing the User Agent to the following: </p>
  
  <ul>
  <li><code>Mozilla/5.0</code> </li>
  <li><code>AppleWebKit/537.44</code> </li>
  <li><code>JavaFX/8.0</code></li>
  <li><code>Safari/537.44</code></li>
  </ul>
  
  <p>but it didn't work for any of them.</p>