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
Add hint property to field component #103
Conversation
To make this input easier for users, do you think you could just have them paste in the YouTube Url and then parse it yourself? That might be easier than training people to understand what they need to put in here. |
👍 |
element : 'input', | ||
type : 'text' | ||
} | ||
}, | ||
|
||
getInitialState() { | ||
return { | ||
hintId: `hint-col-field-${uid++}` |
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.
seems like it could be nicer to use a more global uuid assignment mechanism for things like this.
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.
We could use https://www.npmjs.com/package/uid
one minor comment. good stuff 👍 |
👍 |
Fix for #101