QWebView- Html5 support
-
wrote on 10 Jul 2014, 20:29 last edited by
Hi,
Is there any plan to add Html5 fonctionnality to QWebView?
I'm using Qt 5.2.1 and some feature seems missing/incomplete
For example :
input type="number" - validation (min, max, required) not implemented. (validation on server side in image below)
input effect on type="number" is always present.Here is an example
https://www.dropbox.com/s/2on4zhmphm2a3c0/html5QWebView.pngThank you Qt
-
wrote on 22 Jul 2014, 17:10 last edited by
The most important update would be to support
<input type="number"> so we can use the min and max properties.Right now I have to rely on complex jquery code to do the job but it would be much easier with html5 support.
Keep up the good work !
Edit
Not that complex afterall, gotta love jquery
@ /// Validate wheel size field (positive integer)
$("#wheel_speed").on("input", function() {if(Math.floor(this.value) == this.value && $.isNumeric(this.value) && this.value > 0) { $("#div-wheel-circ").removeClass("has-error"); /// Emit signal wheel circ changed } else { ///show error form on wheel size $("#div-wheel-circ").addClass("has-error"); }
});@