@@ -10,16 +10,17 @@ The ``range`` field is a slider that is rendered using the HTML5
1010+-------------+---------------------------------------------------------------------+
1111| Rendered as | ``input `` ``range `` field (slider in HTML5 supported browser) |
1212+-------------+---------------------------------------------------------------------+
13- | Inherited | - `data `_ |
14- | options | - `disabled `_ |
13+ | Inherited | - `attr `_ |
14+ | options | - `data `_ |
15+ | | - `disabled `_ |
1516| | - `empty_data `_ |
1617| | - `error_bubbling `_ |
1718| | - `error_mapping `_ |
1819| | - `label `_ |
1920| | - `label_attr `_ |
2021| | - `mapped `_ |
21- | | - `attr `_ |
2222| | - `required `_ |
23+ | | - `trim `_ |
2324+-------------+---------------------------------------------------------------------+
2425| Parent type | :doc: `text </reference/forms/types/text >` |
2526+-------------+---------------------------------------------------------------------+
@@ -29,6 +30,8 @@ The ``range`` field is a slider that is rendered using the HTML5
2930Basic Usage
3031-----------
3132
33+ .. code-block :: php
34+
3235 $builder->add('name', 'range', array(
3336 'attr' => array(
3437 'min' => 5,
@@ -44,18 +47,26 @@ type:
4447
4548.. include :: /reference/forms/types/options/attr.rst.inc
4649
50+ .. include :: /reference/forms/types/options/data.rst.inc
51+
4752.. include :: /reference/forms/types/options/disabled.rst.inc
4853
54+ .. include :: /reference/forms/types/options/empty_data.rst.inc
55+ :end-before: DEFAULT_PLACEHOLDER
56+
57+ The default value is ``'' `` (the empty string).
58+
59+ .. include :: /reference/forms/types/options/empty_data.rst.inc
60+ :start-after: DEFAULT_PLACEHOLDER
61+
4962.. include :: /reference/forms/types/options/error_bubbling.rst.inc
5063
5164.. include :: /reference/forms/types/options/error_mapping.rst.inc
5265
5366.. include :: /reference/forms/types/options/label.rst.inc
5467
55- .. include :: /reference/forms/types/options/label_attr.rst.inc
56-
5768.. include :: /reference/forms/types/options/mapped.rst.inc
5869
59- .. include :: /reference/forms/types/options/read_only .rst.inc
70+ .. include :: /reference/forms/types/options/label_attr .rst.inc
6071
6172.. include :: /reference/forms/types/options/required.rst.inc
0 commit comments