[ 
https://issues.apache.org/jira/browse/OFBIZ-13361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058849#comment-18058849
 ] 

Florian Motteau commented on OFBIZ-13361:
-----------------------------------------

PR : https://github.com/apache/ofbiz-framework/pull/965

> 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: Upcoming Branch, 24.09.05
>            Reporter: Florian Motteau
>            Priority: Minor
>
> 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)

Reply via email to