florianMo opened a new pull request, #965:
URL: https://github.com/apache/ofbiz-framework/pull/965

   Improved: <text/> form widget supports "range" and "color" types
   
   OFBIZ-13361
   
   ## Supports 2 HTML input types for the `<text/>` form widget.
   
   ### range
   
   `<input type="range" min="5" max="16" step="0.5"/>`
   
   Allows to define a number between two values (`min` and `max`), in a context 
where the precise value is not considered important.
   Typically rendered as a slider rather that a text entry.
   `min` and `max` attributes are also supported by the `<text/>` widget.
   `step` attribute can be used to define snapping points on the slider.
   Input widget may vary across browsers.
   
   
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/range
   
   ### color
   
   `<input type="color"/>`
   
   Allows to choose a color (text representing a valid CSS color : hexadecimal, 
RGBA...), typically with a visual color picker.
   Input widget may vary across browsers.
   
   
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/color
   
   Thanks: Néréide team


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to