النقر على معلمة مكون السمة الرقمية سيظهرها على أنها معدلة

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 إعجابات