valid_enum is now choice
This commit is contained in:
@ -2,15 +2,13 @@
|
||||
<rougail version="0.10">
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True"/>
|
||||
<variable name="mode_conteneur_actif" type="choice" description="Redefine description" hidden="True">
|
||||
<choice type="string">a</choice>
|
||||
<choice type="string">b</choice>
|
||||
<choice type="string">c</choice>
|
||||
<value type="string">a</value>
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
<check name="valid_enum">
|
||||
<param>a</param>
|
||||
<param>b</param>
|
||||
<param>c</param>
|
||||
<target>mode_conteneur_actif</target>
|
||||
</check>
|
||||
</constraints>
|
||||
<constraints/>
|
||||
</rougail>
|
||||
|
@ -2,14 +2,12 @@
|
||||
<rougail version="0.10">
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" redefine="True" remove_check="True"/>
|
||||
<variable name="mode_conteneur_actif" redefine="True" remove_check="True" remove_choice="True">
|
||||
<choice type="string">a</choice>
|
||||
<choice type="string">b</choice>
|
||||
<value type="string">a</value>
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
<check name="valid_enum">
|
||||
<param>a</param>
|
||||
<param>b</param>
|
||||
<target>mode_conteneur_actif</target>
|
||||
</check>
|
||||
</constraints>
|
||||
<constraints/>
|
||||
</rougail>
|
||||
|
Reference in New Issue
Block a user