question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS][Input validation] [Card UX issue : when error message is displayed on the card on button click]

See original GitHub issue

Platform

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: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
shalinijoshi19commented, Oct 7, 2020

@sowrabh-msft FYI this issue has been addressed with our last patch. thanks

1reaction
jwoo-msftcommented, Sep 29, 2020

@jyoti-ms As we have discussed, SDK will send layout change notification.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found