לחיצה על פרמטר רכיב ערכת נושא מספרי תציג אותו כפי ששוּנה

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 לייקים

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

לייק 1

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 לייקים