-
Notifications
You must be signed in to change notification settings - Fork 481
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
Form output values are not updated based on the changes in the input value #3273
Comments
I think this is expected behavior. The input should be JSON format. Deleting the last digit makes this syntactically invalid JSON that is not accepted as input and the last valid input is used. |
That makes sense. But I have to say it seems like a bug from the user's POV |
Nice catch, indeed. A good example of why proper JSON error handling might be needed (cf. this comment). |
@pinussilvestrus should we move/copy it to the form-js repo? I agree on the error handling |
@pinussilvestrus I created this follow-up issue: camunda/form-playground#20 |
Describe the bug
Create a form say with "Number" field and add a input value to it. The given input value is reflected in the output value field and the Form preview. But when we delete the value one digit by digit the last digit remains in the output field even though there is no value at all in the input value field
Steps to reproduce
abb59c94a521fadf7ae18d35274401ef.mp4
Expected behavior
Update the preview and the output field based on the values provided in the input field
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: