Regarding the text field input limit, the possible input of hex code colors is limited to 16 hex codes and creates an error if these steps are not reflecting the number of states given in the (list) field settings.

Suggested solution

Despite of the fact that we can increae the text field input length, we should ask ourself how many colors we want to create for a visual status change feedback and should make the count of steps of the color change independent from the count of states the selection field (or integer field in future) provides and should let the module split the provided values from the field in equal rounded step-groups, based on the count of colors given via the add color input.

This way the module would automatically support color change for integer fields, no matter how big the range is. A patch for interger fields is already pending in another issue.

Comments

diqidoq created an issue. See original summary.

dqd’s picture

Issue summary: View changes
Related issues: +#2960477: Support integer fields
dqd’s picture

Issue summary: View changes