formio / formio.js

JavaScript powered Forms with JSON Form Builder

Home Page:https://formio.github.io/formio.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Lakshmiprabhak opened this issue · comments

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