-
Notifications
You must be signed in to change notification settings - Fork 1.1k
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text and number input properties not working #935
Comments
Ah, it seems that this only happens when I have an image window with a keypress handler. The event is being published globally, and as such, the keypress preventDefault() in the ImagePane was being called even if that event was targeted toward a different pane. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
When using a text or number property, upon trying to change the initial value, the event that's fired only contains the old value.
Reproduction Steps
Create a properties window in any environment with a text input i.e.
[
{'type': 'text', 'name': 'Test', 'value': 'Testing...'},
]
Register a callback on that window to print every event.
Try to type another letter at the end of the text box that says 'Testing...'
Observe the 'PropertyUpdate' event that is printed. event['value'] is still 'Testing...'.
Expected behavior
The event['value'] should be 'Testing...<typed letter>'
The text was updated successfully, but these errors were encountered: