<fieldset name="basic">
the following sample field<field
name="color_fill"
type="Color"
label="Color onchange test"
format="rgb"
default="rgb(0, 102, 153)"
onchange="console.log(this.value)" />
The browser console throws logs of rgba()
values.
Nothing happens as the markup of the field is wrong, see below (some attributes removed)
<input
type="text" name="color_fill" id="color_fill"
value="rgb(0, 102, 153)"
placeholder="rgb(0, 0, 0)"
class="form-control minicolors rgb minicolors-input"
data-position="default"
data-control="advanced"
console.log(this.value)=""
data-format="rgb" data-opacity="1.00">
Joomla 4.0.2, I think this issue is also present in Joomla 3.x as well.
I might commit some possible fix, anyone interested in testing and pushing this into the stable release?
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-09-02 20:36:33 |
Closed_By | ⇒ | thednp |
Please test PR #30743 for v3.10.