Skip to content
Snippets Groups Projects
Commit 74c6a909 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

add required for solid-form

parent fe145a70
No related branches found
No related tags found
1 merge request!51add required for solid-form
This commit is part of merge request !51. Comments created here will be created in the context of that merge request.
...@@ -80,6 +80,11 @@ Attributes ...@@ -80,6 +80,11 @@ Attributes
Add this attribute when the form does not include Add this attribute when the form does not include
all the fields of the resource to update. all the fields of the resource to update.
``required-[field]``
~~~~~~~~~~~~~~~~~~~~
Add this attribute to make the ``[field]`` required by adding the ``required`` attribute to the input.
``min-[field]`` ``min-[field]``
~~~~~~~~~~~ ~~~~~~~~~~~
Add this attribute for the field ``[field]`` to define its minimum value. Add this attribute for the field ``[field]`` to define its minimum value.
......
...@@ -191,6 +191,7 @@ List of attributes (core framework) ...@@ -191,6 +191,7 @@ List of attributes (core framework)
``required-[field]`` ``required-[field]``
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
* :ref:`required-mixin <required-mixin>` * :ref:`required-mixin <required-mixin>`
* :ref:`solid-form <solid-form>`
``sorted-by`` ``sorted-by``
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment