Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

PaperUI | DecimalType is parsed to Integer #3108

Closed
walwe opened this issue Mar 3, 2017 · 1 comment · Fixed by #3118
Closed

PaperUI | DecimalType is parsed to Integer #3108

walwe opened this issue Mar 3, 2017 · 1 comment · Fixed by #3118

Comments

@walwe
Copy link

walwe commented Mar 3, 2017

I noticed that the Paper UI no longer displays decimals places.
This bug was introduced in #2628:
The PR added the handling of the statechanged event, but it ignores the fact, that the statechangedevent is not unique to the Rollershutter type and therefore parsing all DecimalType and PercentType using parseInt.

Please correct me if i am wrong, but I do not see a real use case for the statechanged event and therefore would simply delete the event listener, thus preventing it from overwriting the state properly handled by the state event.

@kaikreuzer
Copy link
Contributor

@aounhaider1, Could you please check?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants