sp-dev-fx-controls-react
sp-dev-fx-controls-react copied to clipboard
Added choice radio button handling
Q | A |
---|---|
Bug fix? | [ ] |
New feature? | [x] |
New sample? | [ ] |
Related issues? | fixes #1797 |
What's in this Pull Request?
Added handling of the choice field when set to radio button instead of dropdown.
@GuidoZam many thanks for the improvements. I reviewed it and all seems fine, but I will consider waiting for #1726 to avoid conflicts. If the other PR doesn't move forward quickly, I will then merge this PR first.
Thanks @joelfmrodrigues for the update, I'll wait for the merge 😁
I just wrote the same feature and then I found this :-) Is it going to be included in a release build soon?
@IRRDC I think we're still waiting for the other PR. @joelfmrodrigues do you have any news?
@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! I didn't want to rush you, I was just checking 😉
@GuidoZam I tested your code and would suggest that you remove these two lines:
since they lead to duplicate labels and make the field always required.
Before removing them:
After removing them:
Thanks for the feedback @IRRDC!! I've updated the code.