Skip to content
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

Allow multiple masks leaves a value in the preview input field #5946

Open
NiklavsPS opened this issue Dec 11, 2024 · 1 comment
Open

Allow multiple masks leaves a value in the preview input field #5946

NiklavsPS opened this issue Dec 11, 2024 · 1 comment
Assignees

Comments

@NiklavsPS
Copy link

NiklavsPS commented Dec 11, 2024

Describe the bug
If you check the setting Allow Multiple Masks in for example: text field and then uncheck it in the preview it leaves [object Object] and if you check it again it leaves {"value":"","maskName":""} in the input part of the field.

Version/Branch
4.16

To Reproduce
Steps to reproduce the behavior:

  1. Create form
  2. Add component Text field
  3. Check the setting Allow Multiple Masks under the display section.
  4. Uncheck the setting Allow Multiple Masks
  5. It leaves [object Object] in the input field in preview.
  6. Check the setting Allow Multiple Masks again.
  7. It leaves {"value":"","maskName":""} in the input field part in preview.

Expected behavior
It shouldn't leave any value in the input field. It should be empty

Screenshots
image
image
image
image

@NiklavsPS NiklavsPS changed the title Allow multiple masks breaks the preview Allow multiple masks leaves a value in the preview input field Dec 11, 2024
@Tatsiana8
Copy link

Thank you for taking the time to report this issue! I have created a ticket for our backlog.

For internal reference: FIO-9567

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

No branches or pull requests

2 participants