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 to set empty string into property with default string value #6759

Closed
andrewtelnov opened this issue Aug 20, 2023 · 0 comments
Closed
Assignees
Milestone

Comments

@andrewtelnov
Copy link
Member

SurveyJS objects have string & localizable string properties with default value. There is no way to re-write them with empty string, since the value returns to the default value and not to empty string.
We should allow to set the empty string and ability to return to the default value.

@andrewtelnov andrewtelnov self-assigned this Aug 20, 2023
tsv2013 pushed a commit that referenced this issue Sep 4, 2023
 (#6760)

* Allow to set empty string to localizable string with default value #6758

* Add localizable string, clearLocale function #6759

* Add unit test on empty string for string property #6759

* Allow to change editingObject property to empty string

* Support empty string in serilaizer #6759
@andrewtelnov andrewtelnov added this to the v1.9.106 milestone Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant