valid_enum is now choice
This commit is contained in:
@ -2,8 +2,10 @@
|
||||
<rougail version="0.10">
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change">
|
||||
<value>a</value>
|
||||
<variable name="mode_conteneur_actif" type="choice" description="No change">
|
||||
<value type="string">a</value>
|
||||
<choice type="variable">var</choice>
|
||||
<choice type="variable">var2</choice>
|
||||
</variable>
|
||||
<variable name="var" type="string" description="New variable" multi="True">
|
||||
<value>a</value>
|
||||
@ -17,11 +19,5 @@
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
<check name="valid_enum">
|
||||
<param type="variable">var</param>
|
||||
<param type="variable">var2</param>
|
||||
<target>mode_conteneur_actif</target>
|
||||
</check>
|
||||
</constraints>
|
||||
<constraints/>
|
||||
</rougail>
|
||||
|
Reference in New Issue
Block a user