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,8 +2,11 @@
<rougail version="0.10">
<variables>
<family name="general">
<variable name="condition" type="string" description="No change">
<value>tous</value>
<variable name="condition" type="choice" description="No change">
<value type="string">tous</value>
<choice type="string">tous</choice>
<choice type="string">authentifié</choice>
<choice type="string">aucun</choice>
</variable>
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>aucun</value>
@ -14,12 +17,6 @@
</family>
</variables>
<constraints>
<check name="valid_enum">
<param>tous</param>
<param>authentifié</param>
<param>aucun</param>
<target>condition</target>
</check>
<condition name="disabled_if_in" source="condition">
<param type="variable">mode_conteneur_actif</param>
<target type="variable">mode_conteneur_actif2</target>