Skip to content
Merged
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions reference/forms/types/number.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ to ``2``, a submitted value of ``20.123`` will be rounded to, for example,

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

If set to ``0`` with ``html5`` set to ``false``, the HTML input will be rendered with ``inputmode=numeric``.
However, if set to any value greater than ``0``, with ``html5`` set to ``false``, the HTML input will be rendered with ``inputmode=decimal``.

Learn more about the ``inputmode`` attribute on `MDN website`_.

.. include:: https://developer.mozilla.org/fr/docs/Web/HTML/Global_attributes/inputmode

Overridden Options
------------------

Expand Down