Closed sharique5 closed 4 years ago
Please provide as many details as you can:
Clicked label option should get selected
First option with the key is getting selected
https://codepen.io/sharique_5/pen/gOajgGg
Form Config:
{ "display": "form", "settings": { "pdf": { "id": "1ec0f8ee-6685-5d98-a847-26f67b67d6f0", "src": "https://files.form.io/pdf/5692b91fd1028f01000407e3/file/1ec0f8ee-6685-5d98-a847-26f67b67d6f0" } }, "components": [ { "label": "Radio", "optionsLabelPosition": "right", "inline": false, "tableView": false, "values": [ { "label": "First", "value": "first", "shortcut": "" }, { "label": "Second", "value": "second", "shortcut": "" }, { "label": "FirstDuplicate", "value": "first", "shortcut": "" } ], "calculateServer": false, "key": "radio1", "type": "radio", "input": true }, { "type": "button", "label": "Submit", "key": "submit", "disableOnInvalid": true, "input": true, "tableView": false } ] }
@sharique5 This is occurring because of the values of First and FirstDuplicate must be unique.
I hope that this helps.
Thank you @wag110894
Environment
Please provide as many details as you can:
Steps to Reproduce
Expected behavior
Clicked label option should get selected
Observed behavior
First option with the key is getting selected
Example
https://codepen.io/sharique_5/pen/gOajgGg
Form Config: