Florian Motteau created OFBIZ-13361:
---------------------------------------
Summary: Form inputs: support more input types
Key: OFBIZ-13361
URL: https://issues.apache.org/jira/browse/OFBIZ-13361
Project: OFBiz
Issue Type: Task
Affects Versions: 24.09.05, Upcoming Branch
Reporter: Florian Motteau
Since [https://github.com/apache/ofbiz-framework/pull/862,] OFBiz uses native
browser validation, and various input types (see
[https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).]
It would be interesting to support other simple input types, such asĀ
*
[color|http://example.com|https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/color]
*
[range|https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/range]
The `type` attribute of the `<text/>` form widget is forwarded as a `type`
attribute on the HTML `<input/>`, so we just have to modify the XSD to accept
these 2 values. Then we would have to support `min` and `max` attributes to be
able to use the `range` input.
The `color` type is juste a convenient input method for hex colors, so we just
need to update the XSD.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)