Skip to content

Commit ea87e0c

Browse files
committed
Fix RST documentation formatting
1 parent 7c93466 commit ea87e0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ Input Model Validation Modifiers
388388
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389389

390390
.. versionadded:: 2.28
391+
391392
Modifiers to validate ``<input>`` value were added in UX LiveComponent 2.28.
392393

393394
When binding data using the ``data-model`` directive, you can apply input validation modifiers such as:
@@ -400,6 +401,7 @@ When binding data using the ``data-model`` directive, you can apply input valida
400401
These modifiers help reduce unnecessary server requests and provide a lightweight form of frontend validation. For example:
401402

402403
.. code-block:: html
404+
403405
<!-- Do not trigger model update until 3 characters are typed -->
404406
<input data-model="min_length(3)|username" type="text" value="" />
405407

@@ -427,7 +429,7 @@ Validate that an ``<input>`` element of type ``text``, ``email``, ``password``,
427429
<input type="text" data-model="max_length(10)|username">
428430

429431
``min_value``
430-
..............
432+
.............
431433

432434
Validate that an ``<input>`` element of type ``number`` or ``range`` has a numeric value which should not be less than the specific value:
433435

@@ -437,7 +439,7 @@ Validate that an ``<input>`` element of type ``number`` or ``range`` has a numer
437439
<input type="number" data-model="min_value(18)|age">
438440

439441
``max_value``
440-
..............
442+
.............
441443

442444
Validate that an ``<input>`` element of type ``number`` or ``range`` has a numeric value which should not be higher than the specific value:
443445

0 commit comments

Comments
 (0)