Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
8daceb1e
Commit
8daceb1e
authored
Sep 01, 2019
by
Carsten Rose
Browse files
Fixes #7682. Improve doc.
parent
60e6deff
Pipeline
#2312
passed with stages
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Documentation/Manual.rst
View file @
8daceb1e
...
@@ -3267,17 +3267,17 @@ Type: text
...
@@ -3267,17 +3267,17 @@ Type: text
* *FormElement.size* = [<width>[,<min height>[,<max height>]]]
* *FormElement.size* = [<width>[,<min height>[,<max height>]]]
* The 'size' parameter might have 0-3 parameter.
* The 'size' parameter might have 0-3 parameter.
* If 0-2 parameter are given, the height is s
* If 0-2 parameter are given, the height is s
tatic.
* If 3 parameter are given, the `auto height` mode is activated
:
the height is dynamically calculated, with respect to
* If 3 parameter are given, the `auto height` mode is activated
and
the height is dynamically calculated, with respect to
given min/max height.
given min/max height.
* Width measured in characters, height measured in lines.
* Width measured in characters, height measured in lines.
* If only the width is given
(no min/max height)
, the height becomes automatically '1'.
* If only the width is given, the height becomes automatically '1'.
* In general, the *visible* width of an input element is defined by the Bootstrap column width (and *not* the width given
* In general, the *visible* width of an input element is defined by the Bootstrap column width (and *not* the width given
here). The width value here only has an impact on calculating the final height in the `auto height` mode.
here). The width value here only has an impact on calculating the final height in the `auto height` mode.
* The dynamic Bootstrap width of the shown textarea element makes it hard to calculate the real needed height. The
* The dynamic Bootstrap width of the shown textarea element makes it hard to calculate the real needed height. The
implementation is only a 'best guess'.
implementation is only a 'best guess'.
* `<width>,<min height>`: with a `<min height>` > 1 the
input
element is of type 'textarea'.
* `<width>,<min height>`: with a `<min height>` > 1 the
form
element is of type 'textarea'
(else 'input')
.
* `<width>,<min height>,<max height>`:
input element = textarea, width=`<width>`,
height=`counting lines of current value`.
* `<width>,<min height>,<max height>`: height=`counting lines of current value`.
If a line is longer than `<width>`, the height of the line counts as `length(<line>) / <width> + 1` lines. The height
If a line is longer than `<width>`, the height of the line counts as `length(<line>) / <width> + 1` lines. The height
is never less than `<min height>` or greater than `<max height>`.
is never less than `<min height>` or greater than `<max height>`.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment