-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Guidance on use of "input" tag with "placeholder" attribute using Components #87
Comments
I guess the guidance for now would be to use |
As for the docs, if you're feeling up for it, you could send a PR to the website adding an example like this :) |
Thanks for the super-quick reply! I need to gain a little more experience with react and input elements before I will feel confident about the quality of advice I can dispense, but that should hopefully be later this week. I'd be happy to provide a pull request at that point. |
I have exactly the same issue right now and |
@surkova sorry, typo: |
See: #162 |
Improve browser bundling with Browserify/Webpack
* test descriptions as objects * tabs to spaces * pr feedback * remove some whitespace
From reading the docs, it's not immediately clear to me how I should be creating an input element using a placeholder attribute using react-intl. Currently I would guess I should use formatMessage(), but http://formatjs.io/react/ says "these methods will likely be deprecated in v2.0, so use the Components." and I'm not sure how to do that. I did look in the provided example and I think I read/searched the docs sufficiently, but I could be missing something. If it is missing, I think it would be a great addition to the docs!
The text was updated successfully, but these errors were encountered: