Skip to content

Commit

Permalink
Remove Default Value for Forms
Browse files Browse the repository at this point in the history
  • Loading branch information
On5-Repos committed Jul 19, 2024
1 parent 6e199f6 commit a10639e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions config/doctrine/AbstractFormSpecification.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@

<mapped-superclass name="Zikula\Bundle\DynamicFormBundle\Entity\AbstractFormSpecification">

<field name="name" column="name" type="string" length="255" nullable="false" />
<field name="name" column="name" type="string" length="255" nullable="false"/>

<field name="labels" column="labels" type="array" nullable="false" />
<field name="labels" column="labels" type="array" nullable="false"/>

<field name="formType" column="form_type" type="string" length="255" nullable="false" />
<field name="formType" column="form_type" type="string" length="255" nullable="false"/>

<field name="formOptions" column="form_options" type="array" />
<field name="formOptions" column="form_options" type="array"/>

<field name="active" column="active" type="boolean" />
<field name="active" column="active" type="boolean"/>

<field name="groups" column="groups" type="array" nullable="false">
<options>
<option name="default">a:0:{}</option><!-- needed for migration-->
</options>
</field>
<field name="groups" column="groups" type="array"/>

</mapped-superclass>

Expand Down

0 comments on commit a10639e

Please sign in to comment.