Skip to content

Commit

Permalink
Add example and default value to radio buttons (#303)
Browse files Browse the repository at this point in the history
* Added example and default value to radiobuttons

* Fix none required radio buttons

Co-authored-by: Alexander Schranz <[email protected]>
  • Loading branch information
Quehnie and alexander-schranz committed Apr 1, 2022
1 parent dc72a85 commit 8c6f977
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Resources/config/form-fields/field_choices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/properties-1.0.xsd">
<xi:include href="default_field.xml" xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)
xpointer(//sulu:property)"/>
<property name="placeholder" type="text_line" colspan="6">
<meta>
<title>sulu_form.example</title>
</meta>
</property>
<property name="defaultValue" type="text_line" colspan="6">
<meta>
<title>sulu_form.default</title>
</meta>
</property>
<property name="options/choices" type="text_area">
<meta>
<title>sulu_form.choice</title>
Expand Down

0 comments on commit 8c6f977

Please sign in to comment.