-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[No QA] Create FORMS.md #7958
[No QA] Create FORMS.md #7958
Conversation
|
||
``` | ||
<TextInput | ||
name="fname" |
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.
What's the significance of "fname" here? 😕
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.
This is the attribute used by the browser to autofill the input. In this case first name. There's a link with references to each attribute available. I tweak this description slightly to hopefully make it clearer.
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.
Oh, can we name it firstName
then?
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.
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.
Ah! Oh! Wow! Thanks for the clarification, after visiting the link this definitely makes sense 👍
Updated! Thanks for the thorough review! |
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.
Neat, thanks! Just one last comment left.
This doc is great. However, as with all docs, it will get outdated with time. Should we perhaps add some sort of reminder that when modifying the Form.js file(s), this doc should be updated if necessary? This can of course be done in a separate issue & PR.
Great idea! I created an issue for that - https://github.com/Expensify/Expensify/issues/199835. Thanks! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by @chiragsalian in version: 1.1.42-6 🚀
|
Details
Creates a README with guidelines for Form and Form input based on the solution implemented by the design doc.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/194613
Tests
FORMS.md
and verify that you can read the file.PR Review Checklist
Contributor (PR Author) Checklist
main
before submitting my PR for review### Fixed Issues
section abovesrc/languages/*
files (if applicable)Styling.md
) for all style edits I madePR Reviewer Checklist
main
before submitting the PR### Fixed Issues
section abovesrc/languages/*
files (if applicable)QA Steps
None. Adding a readme file.
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android