HTML5 controls do not work in JavaFX webview

I use the tag below in my standalone JavaFX WebView application on one of the pages

Input type number that accepts characters as well

<input type="number" id="qNumber"/> 

an input date that does not appear as a date control

 <input type="date" id="qDate"/> 

Text input still accepts text in the input file, but when I use this tag on a regular HTML page (not in JavaFX ), like writing to notepad, it works fine.

How to solve this rendering problem? Or something that I am doing wrong step by step to register an HTML file?

Note:

My user agent for the Mozilla / 5.0 web engine (Windows NT 10.0; Win64; x64) is AppleWebKit / 538.19 (KHTML, for example Gecko). JavaFX / 8.0 Safari / 538.19 .

+7
java html javafx
source share
1 answer

This is a known bug, as you can see here .

Instead, you can use jquery date picker or something else.

+8
source share

All Articles