kopia lustrzana https://github.com/wagtail/wagtail
Update blocks.rst
Docs does not currently include the `rows` kwarg that is available on `TextBlock`. See Question on slack https://wagtailcms.slack.com/archives/C81FGJR2S/p1635825388225100pull/7570/head
rodzic
0386fb5e4e
commit
707ea54f4f
|
@ -77,6 +77,7 @@ Field block types
|
|||
:param max_length: The maximum allowed length of the field.
|
||||
:param min_length: The minimum allowed length of the field.
|
||||
:param help_text: Help text to display alongside the field.
|
||||
:param rows: Number of rows to show on the textarea (defaults to 1).
|
||||
:param validators: A list of validation functions for the field (see `Django Validators <https://docs.djangoproject.com/en/stable/ref/validators/>`__).
|
||||
:param form_classname: A value to add to the form field's ``class`` attribute when rendered on the page editing form.
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue