Improved: <text/> form widget supports "range" and "color" types#965
Open
florianMo wants to merge 1 commit intoapache:trunkfrom
Open
Improved: <text/> form widget supports "range" and "color" types#965florianMo wants to merge 1 commit intoapache:trunkfrom
florianMo wants to merge 1 commit intoapache:trunkfrom
Conversation
Allows to use input[type="range"], with min and max support. Allows to use input[type="color"], with browsers color pickers. OFBIZ-13361
7283df4 to
e3ffc4e
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Improved: form widget supports "range" and "color" types
OFBIZ-13361
Supports 2 HTML input types for the
<text/>form widget.(Chromium 145)
range
<input type="range" min="5" max="16" step="0.5"/>Allows to define a number between two values (
minandmax), in a context where the precise value is not considered important.Typically rendered as a slider rather that a text entry.
minandmaxattributes are also supported by the<text/>widget.stepattribute 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