It should be a good idea to allow html5 natives input types for $col[“edittype”] and attributes as pattern forĀ $col[“edittype”].
Those html5 fields should be more useful with mobile devices (adapted keyboard, validation, automatic warning,…)
1 Answers
Hello,
I verified it and it’s already supported with an small addition.
We have html attributes support present and ‘type’ attribute can be added there as well. E.g. here size and type are html built-in attributes.
$col[“editoptions”] = “array(“size”=>30, “type”=>”date”);
You can have all such attributes as mentioned here:
https://developer.mozilla.org/en-US/docs/Learn/Forms/HTML5_input_types
Your Answer