File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ The ``range`` field is a slider that is rendered using the HTML5
8
8
``<input type="range" /> `` tag.
9
9
10
10
+-------------+---------------------------------------------------------------------+
11
- | Rendered as | ``input `` ``range `` field (slider in html5 supported browser) |
11
+ | Rendered as | ``input `` ``range `` field (slider in HTML5 supported browser) |
12
12
+-------------+---------------------------------------------------------------------+
13
13
| Inherited | - `data `_ |
14
14
| options | - `disabled `_ |
@@ -18,8 +18,7 @@ The ``range`` field is a slider that is rendered using the HTML5
18
18
| | - `label `_ |
19
19
| | - `label_attr `_ |
20
20
| | - `mapped `_ |
21
- | | - `max `_ |
22
- | | - `min `_ |
21
+ | | - `attr `_ |
23
22
| | - `required `_ |
24
23
+-------------+---------------------------------------------------------------------+
25
24
| Parent type | :doc: `text </reference/forms/types/text >` |
@@ -30,6 +29,12 @@ The ``range`` field is a slider that is rendered using the HTML5
30
29
Basic Usage
31
30
-----------
32
31
32
+ $builder->add('name', 'range', array(
33
+ 'attr' => array(
34
+ 'min' => 5,
35
+ 'max' => 50
36
+ )
37
+ ));
33
38
34
39
Inherited Options
35
40
-----------------
You can’t perform that action at this time.
0 commit comments