-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: add placeholder to starter app Textfield types #9069
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
Conversation
starters/docs/src/TextField.tsx
Outdated
| <AriaTextField {...props}> | ||
| <Label>{label}</Label> | ||
| <Input className="react-aria-Input inset" /> | ||
| <Input className="react-aria-Input inset" placeholder='' /> |
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.
do we need this in the tailwind starter as well?
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.
shouldn't it pass through the placeholder rather than an empty string?
starters/docs/src/TextField.tsx
Outdated
| <AriaTextField {...props}> | ||
| <Label>{label}</Label> | ||
| <Input className="react-aria-Input inset" /> | ||
| <Input className="react-aria-Input inset" placeholder='' /> |
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.
Would it better to pass it through, but default it as empty string?
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.
yep, typo
|
Build successful! 🎉 |
|
Build successful! 🎉 |
Fix build failure
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project:
RSP