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

Even if custom default value is present default value (with multiple values are selected) is getting honored when we click add another, instead of empty field #5532

Open
Lakshmiprabhak opened this issue Mar 11, 2024 · 2 comments
Assignees

Comments

@Lakshmiprabhak
Copy link

Environment:

Even if custom default value is present default value (with multiple values are selected) is getting honored when we click add another, instead of empty field

Hosting Type :

https://formio.github.io/formio.js/app/sandbox.html
Formio js Version : 4.x Latest (Default)

Expected Behavior:

If custom default value and default value are present (with multiple values are selected), should bring empty field, instead of default value

STEPS-TO-REPRODUCE:

1)Add the textfield component
2)Goto data and select multiplevalues
3) Add default value and custom default values.
4)Goto preview and click on add another.
5)Observed first time custom default value horned and second time default value is horned.

Attached GIF for reference:

DefaultValuesAdded.1.mp4

Reference defect:

I can see the similar same issue raised before as well.
#4666
#5377

@jeriah-formio
Copy link
Collaborator

FIO-8361

@lane-formio
Copy link
Contributor

After review, we don't expect to prioritize this in the near future but would gladly review any contributions related to this behavior.

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

3 participants