Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issues discovered with the smoke test #5185

Merged
merged 2 commits into from
Dec 14, 2020
Merged

Conversation

jwoo-msft
Copy link
Member

@jwoo-msft jwoo-msft commented Dec 12, 2020

Related Issue

Fixed #5180
Fixed #5179

Description

#5180, Sample host config picked up the wrong separator value.
#5179, Input validator set the border to zero when input validation passed. This works as inputs don't have explicit borders except for input with multi-lines. this fix stores the original border params when inputs are initialized to use them to restore to original values after validation succeeds after a failure.

Sample Card

https://github.com/microsoft/AdaptiveCards/blob/main/samples/v1.0/Elements/AdaptiveCard.json
https://github.com/microsoft/AdaptiveCards/blob/main/samples/v1.0/Elements/ColumnSet.Spacing.json

How Verified

How you verified the fix, including one or all of the following:

  1. Input sample cards were used to verify the fixes.
Microsoft Reviewers: Open in CodeFlow

@golddove
Copy link
Member

We should consider using a common sample host config on all platforms.

@shalinijoshi19
Copy link
Member

We should consider using a common sample host config on all platforms.

Good idea. @jwoo-msft / @golddove can one of you file this for us to review/revisit/track? Thanks.

@jwoo-msft jwoo-msft merged commit 68f06c1 into main Dec 14, 2020
@jwoo-msft jwoo-msft deleted the jwoo/ios-smoke-test-fixes branch December 14, 2020 18:12
@jwoo-msft
Copy link
Member Author

We should consider using a common sample host config on all platforms.

Good idea. @jwoo-msft / @golddove can one of you file this for us to review/revisit/track? Thanks.

created #5186 to track the issue.
cc @shalinijoshi19, @golddove

jwoo-msft added a commit that referenced this pull request Dec 14, 2020
Co-authored-by: Shalini Joshi-MSFT <shalinij@microsoft.com>
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
Co-authored-by: Shalini Joshi-MSFT <shalinij@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants