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

[Android][InputEvolution] Fix number input default behaviour #4523

Merged

Conversation

almedina-ms
Copy link
Contributor

@almedina-ms almedina-ms commented Aug 3, 2020

Related Issue

Fixes #4522

Description

This fix changes the comparisson behaviours to match the new use of nullable properties for value, min and max in Input.Number. Now there are null checks instead of comparissons against Integer.MIN_VALUE or Integer.MAX_VALUE constants.

How Verified

The fix was verified manually and the results can be seen below:

Value set, Min/Max null/unset
image

Value null/unset
image

Microsoft Reviewers: Open in CodeFlow

@shalinijoshi19
Copy link
Member

@almedina-ms please remember to cherry pick this into release/20.07

@shalinijoshi19
Copy link
Member

@almedina-ms / @golddove, do we have the sample card for this test checked in ? If not please let;s get it in.

Copy link
Member

@shalinijoshi19 shalinijoshi19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@almedina-ms almedina-ms merged commit eca129c into main Aug 4, 2020
@almedina-ms almedina-ms deleted the user/almedina-ms/IE_Android_FixNumberInputRendering branch August 4, 2020 20:15
almedina-ms added a commit that referenced this pull request Aug 4, 2020
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
shalinijoshi19 added a commit that referenced this pull request Aug 5, 2020
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
Co-authored-by: shalinijoshi19 <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
Development

Successfully merging this pull request may close these issues.

[Android][Input Validation] Input.Number without "min" doesn't render, and without "value" shows null
3 participants