[UX] Unable to have two SubmitAction Buttons *and* validation
See original GitHub issuePlatform
- .NET WPF (#5137)
- Android (#5152)
- iOS (#5148)
- JavaScript (#5136)
- UWP (#5141)
- Shared Model (#5139)
- Schema (#5140)
- Merge feature branch to main (#5078)
Author or host
Author
If you’re an author, who are you sending cards to?
Own host.
Version of SDK
2.5.0
Details
With 1.3, input validation and required
was added to some of the input controls, which is great. However, I’m running into a problem whereby I need multiple SubmitAction buttons on the page for different purposes, but none of them will work unless all the validation has been met.
User scenario: I create a form card with several Input.Text
fields, at the bottom, I have a SubmitAction button with a label and id of “Submit”, but I also want to offer the user a way to cancel this screen and go back to the previous screen, so I would add another SubmitAction button with a label and id of “Cancel”, but the user can’t do anything with the cancel button because the form validation may not be meeting the required validation criteria.
This would apply to any additional SubmitAction buttons in the card (maybe I have a logo image with an attached SubmitAction that takes the user back to the “home” card, for example), none of these will work unless the user actually fills in all the forms.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (16 by maintainers)
Top GitHub Comments
@dclaux as long as it is replaced with something I’m OK with that.
🎉
AdaptiveCards@2020.12
has been released which fixes this issue.🎉Handy links: