We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now CharField data is used to render Template's char field placeholder (passed template.field.label in props to placeholder field):
CharField
template.field.label
placeholder
Would be nice to enable the field to store placeholder info so we can show an example of how the field should be written:
export default function CharField(props) { return ( <TextInput placeholder={props.field.placeholder} value={props.data || ''} fill={true} onChange={e => props.onChange(e.target.value)} /> ) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now
CharField
data is used to render Template's char field placeholder (passedtemplate.field.label
in props toplaceholder
field):Would be nice to enable the field to store placeholder info so we can show an example of how the field should be written:
Places to start
CharField
class on Django to storeplaceholder
info as well around this codeCharField
component on React to render this new placeholder in this file to be something likeThe text was updated successfully, but these errors were encountered: