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
Trying to make the JSONField input box wider, but attrs does not seem to work. Could you please provide a template for JSONFormWidget attrs settings?
"JSONFormWidget classJSONFormWidget(schema, model_name='', file_handler='', validate_on_submit=False**, attrs=None)"**
I tried in forms.py:
'person_all_names': JSONFormWidget(schema=PersonModel.name_SCHEMA,attrs={'style': 'width: 300%; height: 100%;'}),
but did not work...
Maybe the JSONFormWidget does not take in attrs -- 'style'?
The text was updated successfully, but these errors were encountered:
I found out the issue but no solution:
the attrs does work but only on the class of widget container.
Suggest to add a width/height parameter. Thanks
Sorry, something went wrong.
No branches or pull requests
Trying to make the JSONField input box wider, but attrs does not seem to work.
Could you please provide a template for JSONFormWidget attrs settings?
"JSONFormWidget
classJSONFormWidget(schema, model_name='', file_handler='', validate_on_submit=False**, attrs=None)"**
I tried in forms.py:
'person_all_names': JSONFormWidget(schema=PersonModel.name_SCHEMA,attrs={'style': 'width: 300%; height: 100%;'}),
but did not work...
Maybe the JSONFormWidget does not take in attrs -- 'style'?
The text was updated successfully, but these errors were encountered: