Fare clic sul parametro del componente del tema numerico lo mostrerà come modificato

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 Mi Piace

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

1 Mi Piace

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 Mi Piace