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
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
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.
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:
https://github.com/formio/formio.js/assets/81677482/5ba2b5d6-0119-4113-a283-ba7dd1feaefb
Reference defect:
I can see the similar same issue raised before as well. https://github.com/formio/formio.js/issues/4666 https://github.com/formio/formio.js/issues/5377