Added choice radio button handling#1798
Conversation
|
Thanks @joelfmrodrigues for the update, I'll wait for the merge 😁 |
|
I just wrote the same feature and then I found this :-) |
|
@IRRDC I think we're still waiting for the other PR. |
|
@GuidoZam hi, sorry I have been struggling to find time and was a bit away from things for personal reasons. Hope to get moving again soon |
|
Hope everything's fine @joelfmrodrigues! |
|
@GuidoZam I tested your code and would suggest that you remove these two lines: |
|
Thanks for the feedback @IRRDC!! |
|
Hi Guido, would you mind updating your branch / PR regarding conflicts? Thanks. |
|
Hi @michaelmaillot, I've resolved the conflicts. |
michaelmaillot
left a comment
There was a problem hiding this comment.
Thanks for the update!
I think you've missed the choiceType variable init during the PR's sync with dev branch here:
// Store the choice type for Choice fields
// This represent the format of the choice field (Dropdown or Radio Buttons)
choiceType = field.FormatType;A few things to update and we should be fine.
Co-authored-by: Michaël Maillot <battosaimykle@gmail.com>
Co-authored-by: Michaël Maillot <battosaimykle@gmail.com>
Co-authored-by: Michaël Maillot <battosaimykle@gmail.com>
|
Hi @michaelmaillot, sorry for the late reply! |
michaelmaillot
left a comment
There was a problem hiding this comment.
Thanks for this update, a few changes and we'll be good!
Co-authored-by: Michaël Maillot <battosaimykle@gmail.com>
|
Hi @michaelmaillot I've updated accordingly to your latest suggestions. |
|
Merged manually, thank you! |



What's in this Pull Request?
Added handling of the choice field when set to radio button instead of dropdown.