HTML5 widget for unlimited values needs improvements

Created on 27 June 2019, about 5 years ago
Updated 3 June 2024, 25 days ago

There are 2 issues when using HTML5 widget with unlimited color values:

1. there is no way to remove a value. This is because the input will always return #000000, as it doesn't support null value (tested in chrome)
2. a new #000000 value will be added on each edit and save even if no color has selected (this is caused by the same problem, the html5 color input doesn't support null value)

For HTML5 widget I suggest to remove the empty element on edit and to add a "remove" action for each element.

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇷🇴Romania aalin

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024