Skip to content

Commit d4d1f12

Browse files
committed
Starting with range documentation
1 parent dd0e33f commit d4d1f12

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

reference/forms/types/range.rst

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
.. index::
2+
single: Forms; Fields; range
3+
4+
range Field Type
5+
================
6+
7+
The ``range`` field is a slider that is rendered using the HTML5
8+
``<input type="range" />`` tag.
9+
10+
+-------------+---------------------------------------------------------------------+
11+
| Rendered as | ``input`` ``range`` field (slider in html5 supported browser) |
12+
+-------------+---------------------------------------------------------------------+
13+
| Inherited | - `data`_ |
14+
| options | - `disabled`_ |
15+
| | - `empty_data`_ |
16+
| | - `error_bubbling`_ |
17+
| | - `error_mapping`_ |
18+
| | - `label`_ |
19+
| | - `label_attr`_ |
20+
| | - `mapped`_ |
21+
| | - `max`_ |
22+
| | - `min`_ |
23+
| | - `required`_ |
24+
+-------------+---------------------------------------------------------------------+
25+
| Parent type | :doc:`text </reference/forms/types/text>` |
26+
+-------------+---------------------------------------------------------------------+
27+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\RangeType` |
28+
+-------------+---------------------------------------------------------------------+
29+
30+
Basic Usage
31+
-----------
32+
33+
34+
Inherited Options
35+
-----------------
36+
37+
These options inherit from the :doc:`form </reference/forms/types/form>`
38+
type:
39+
40+
.. include:: /reference/forms/types/options/attr.rst.inc
41+
42+
.. include:: /reference/forms/types/options/disabled.rst.inc
43+
44+
.. include:: /reference/forms/types/options/error_bubbling.rst.inc
45+
46+
.. include:: /reference/forms/types/options/error_mapping.rst.inc
47+
48+
.. include:: /reference/forms/types/options/label.rst.inc
49+
50+
.. include:: /reference/forms/types/options/label_attr.rst.inc
51+
52+
.. include:: /reference/forms/types/options/mapped.rst.inc
53+
54+
.. include:: /reference/forms/types/options/read_only.rst.inc
55+
56+
.. include:: /reference/forms/types/options/required.rst.inc

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy