Skip to content

[HttpKernel] Added support for registering Bundle dependencies #5103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
22a87b5
Added depreciation note for the cascade_validation constraint and upd…
peterrehm Oct 20, 2014
06aed96
feature #4354 [WCM] Added depreciation note for the cascade_validatio…
weaverryan Jun 19, 2015
bfea184
Merge branch '2.7' into 2.8
weaverryan Jun 19, 2015
9538919
Merge branch '2.7' into 2.8
weaverryan Jun 19, 2015
0fe1050
Merge branch '2.7' into 2.8
wouterj Jun 20, 2015
485c8a0
document new Doctrine APC cache service
xabbuh Jun 16, 2015
c9e8634
[#3782] Deprecating the read_only option
snoob Jun 26, 2015
dd0e33f
minor #3782 [Form] Deprecate read_only option (snoob)
weaverryan Jun 26, 2015
9718c14
[Serializer] Array Denormalization
derrabus Jun 3, 2015
464b578
feature #5360 [Serializer] Array Denormalization (derrabus)
xabbuh Jun 28, 2015
d4d1f12
Starting with range documentation
harikt Jun 28, 2015
a45a393
Merge branch '2.7' into 2.8
xabbuh Jun 28, 2015
a2c3f21
Make the necessary changes mentioned by @xabbuh and add example for form
harikt Jun 28, 2015
acff5b0
Merge branch '2.7' into 2.8
weaverryan Jun 28, 2015
cbf8fd7
feature #5409 [Reference] document new Doctrine APC cache service (xa…
weaverryan Jun 28, 2015
9cbf3d4
Merge branch '2.7' into 2.8
weaverryan Jun 28, 2015
273cab9
Merge branch '2.7' into 2.8
weaverryan Jun 30, 2015
ceebee0
Merge branch '2.7' into 2.8
wouterj Jul 1, 2015
bef92ec
Added June changelog
wouterj Jul 1, 2015
0436ee7
Merge branch '2.7' into 2.8
weaverryan Jul 2, 2015
cb482dc
Merge branch '2.7' into 2.8
xabbuh Jul 2, 2015
3c6ff76
Fix issues reported by @snoek09 . Thank you.
harikt Jul 3, 2015
abf3e8e
Fix the rendering issue
harikt Jul 3, 2015
2863079
Fix moving the mapped down as per @xabbuh
harikt Jul 4, 2015
2c1328e
Merge branch '2.7' into 2.8
xabbuh Jul 6, 2015
99a996c
Added caution notes about the deprecation of container scopes
javiereguiluz Jul 7, 2015
2f65bf2
Merge branch '2.7' into 2.8
weaverryan Jul 7, 2015
654b36c
Merge branch '2.7' into 2.8
weaverryan Jul 8, 2015
8fadb17
Merge branch '2.7' into 2.8
weaverryan Jul 12, 2015
7c967ed
Merge branch '2.7' into 2.8
weaverryan Jul 15, 2015
b88a17e
[Cookbook][WebServer] #5504 add a tip for the --force option on serve…
vincentaubert Jul 14, 2015
dc173b6
Merge branch '2.7' into 2.8
weaverryan Jul 15, 2015
571ed5b
Merge branch '2.7' into 2.8
xabbuh Jul 15, 2015
79a1902
Merge branch '2.7' into 2.8
weaverryan Jul 16, 2015
f4b7d7f
feature #5458 HTML5 range documentation (harikt)
weaverryan Jul 16, 2015
befbf7b
Merge branch '2.7' into 2.8
weaverryan Jul 16, 2015
3b829c0
Merge branch '2.7' into 2.8
xabbuh Jul 17, 2015
2f98474
feature #5521 [Cookbook][WebServer] #5504 add a tip for the --force o…
wouterj Jul 23, 2015
1739549
[#5521] Added versionadded directive
wouterj Jul 23, 2015
343b349
Merge branch '2.7' into 2.8
wouterj Jul 23, 2015
74cd23b
Merge branch '2.7' into 2.8
xabbuh Jul 23, 2015
0281f61
Merge branch '2.7' into 2.8
wouterj Jul 28, 2015
a20ea5d
Merge branch '2.7' into 2.8
wouterj Jul 28, 2015
4ab47cc
Merge branch '2.7' into 2.8
wouterj Jul 28, 2015
43565d9
minor #5498 [WIP] Added caution notes about the deprecation of contai…
xabbuh Jul 28, 2015
eafdb8c
Merge branch '2.7' into 2.8
weaverryan Aug 8, 2015
09fe35f
[HttpKernel] Added support for registering Bundle dependencies
andrerom Mar 22, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions reference/forms/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Form Types Reference
types/percent
types/search
types/url
types/range

types/choice
types/entity
Expand Down
1 change: 1 addition & 0 deletions reference/forms/types/map.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Text Fields
* :doc:`percent </reference/forms/types/percent>`
* :doc:`search </reference/forms/types/search>`
* :doc:`url </reference/forms/types/url>`
* :doc:`range </reference/forms/types/range>`

Choice Fields
~~~~~~~~~~~~~
Expand Down
74 changes: 74 additions & 0 deletions reference/forms/types/range.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.. index::
single: Forms; Fields; range

range Field Type
================

The ``range`` field is a slider that is rendered using the HTML5
``<input type="range" />`` tag.

+-------------+---------------------------------------------------------------------+
| Rendered as | ``input`` ``range`` field (slider in HTML5 supported browser) |
+-------------+---------------------------------------------------------------------+
| Inherited | - `attr`_ |
| options | - `data`_ |
| | - `disabled`_ |
| | - `empty_data`_ |
| | - `error_bubbling`_ |
| | - `error_mapping`_ |
| | - `label`_ |
| | - `label_attr`_ |
| | - `mapped`_ |
| | - `required`_ |
| | - `trim`_ |
+-------------+---------------------------------------------------------------------+
| Parent type | :doc:`text </reference/forms/types/text>` |
+-------------+---------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\RangeType` |
+-------------+---------------------------------------------------------------------+

Basic Usage
-----------

.. code-block:: php

$builder->add('name', 'range', array(
'attr' => array(
'min' => 5,
'max' => 50
)
));

Inherited Options
-----------------

These options inherit from the :doc:`form </reference/forms/types/form>`
type:

.. include:: /reference/forms/types/options/attr.rst.inc

.. include:: /reference/forms/types/options/data.rst.inc

.. include:: /reference/forms/types/options/disabled.rst.inc

.. include:: /reference/forms/types/options/empty_data.rst.inc
:end-before: DEFAULT_PLACEHOLDER

The default value is ``''`` (the empty string).

.. include:: /reference/forms/types/options/empty_data.rst.inc
:start-after: DEFAULT_PLACEHOLDER

.. include:: /reference/forms/types/options/error_bubbling.rst.inc

.. include:: /reference/forms/types/options/error_mapping.rst.inc

.. include:: /reference/forms/types/options/label.rst.inc

.. include:: /reference/forms/types/options/label_attr.rst.inc

.. include:: /reference/forms/types/options/mapped.rst.inc

.. include:: /reference/forms/types/options/required.rst.inc

.. include:: /reference/forms/types/options/trim.rst.inc