[iOS][Input validation] [Card UX issue : when error message is displayed on the card on button click]
See original GitHub issuePlatform
What platform is your issue or question related to?
- iOS
Author or host
Host - Teams iOS Client
Version of SDK
SDK 2.1.0 (Adaptive card v1.3)
Details
An error message is shown on the card when input validation check is not passed on submit button click.
SDK send
method is not triggering any onClick
event to the client whenever input validation failed and error messages are shown directly.
In teams, we need to refresh the superview’s layout (table view cell layout) that contains the adaptive card whenever error message is shown on the card as height of the adaptive card view has increased (changed by the SDK).
This is causing the UX to squeeze when user clicks on action.submit button. SDK is handling this right now and updating the layout for adaptive card only.
PFA screenshot:
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Designing Better Error Messages UX
We highlight the error, display a message, and nudge users toward the correct input. As it turns out, a strategic and thorough design...
Read more >When i press button popup message showing “ Add Cards ...
When i press button popup message showing “ Add Cards to Wallet To add cards, keys, tickets, and passes to Wallet, look for...
Read more >Error Messages UX
One of the simpler patterns is to display the error message in the same row where the content lives. In that case, the...
Read more >UX Design: Four ways to display error messages
When shopping online, for example, you must enter card details, delivery address and other personal information which generate error messages.
Read more >How to tell a user about an error after clicking a button?
Try an icon, plus a helpful error message. It needs to be noticeable. Users will want to understand what happened, and how to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sowrabh-msft FYI this issue has been addressed with our last patch. thanks
@jyoti-ms As we have discussed, SDK will send layout change notification.