valid_enum is now choice

This commit is contained in:
2021-05-01 18:32:45 +02:00
parent d7a1a52ebb
commit b35d930d7e
91 changed files with 556 additions and 761 deletions

View File

@ -2,17 +2,13 @@
<rougail version="0.10">
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>b</value>
<variable name="mode_conteneur_actif" type="choice" description="No change">
<value type="string">b</value>
<choice type="string">a</choice>
<choice type="string">b</choice>
<choice type="string">c</choice>
</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>