-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Handle errorText in TextInputWithLabel #4741
Conversation
Styling looks good! @nkuoch all yours :) |
</TouchableWithoutFeedback> | ||
</View> | ||
{errorText !== '' && ( | ||
<Text style={[styles.formError]}>{errorText}</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also put a small margin on top of the error text, like mt1
? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated my review, I think we should update this component to have propTypes
, defaultProps
, and a displayName
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lookin good 👍
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Handle errorText in TextInputWithLabel (cherry picked from commit cc87bc5)
🚀 Cherry-picked to staging by @AndrewGable in version: 1.0.86-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
Please ignore the above, CI skipped these jobs and simply added a message here. |
🚀 Deployed to production by @roryabraham in version: 1.0.86-11 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.0.88-2 🚀
|
@pecanoro @jasperhuangg
Details
Add support for
errorText
prop inTextInputWithLabel
component.Currently the error is showing like this:
Is the styling correct?
Fixed Issues
$ #4730
Tests/QA
<baseURL>/bank-account/company
.Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android