Clicking on numeric theme component parameter will show it as modified

When clicking on a numeric theme component setting and leaving the field without modifying it, it will show as ‘modified’ until the screen is refreshed.

This only happens in theme components, not in site settings.
This only happens with numeric fields.

Example (tests-passed, with Discourse Kanban, but reproducible with any theme component that has a numeric setting, all I do is click in the field and click next to the field)

firefox_ahBwQZMGB2

4 Likes

Could it be because in the code it is set as 3 and not “3” ?

1 Like

Likely related, I guess we are missing a cast somewhere in the validator.

Minor bug but will be nice to have it fixed.

At a minimum I am putting #pr-welcome on this.

3 Likes