condition and check
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
<constraints>
|
||||
<check name="valid_enum" target="mode_conteneur_actif">
|
||||
<param>['a','b','c']</param>
|
||||
<param name="checkval">False</param>
|
||||
</check>
|
||||
</constraints>
|
||||
|
||||
|
@ -1 +1 @@
|
||||
{"creole.general.mode_conteneur_actif": "a"}
|
||||
{"creole.general.mode_conteneur_actif": "b"}
|
||||
|
@ -1,17 +1,15 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<creole>
|
||||
<constraints>
|
||||
<check name="valid_enum" target="creole.general.mode_conteneur_actif" transitive="True" warnings_only="False">
|
||||
<param type="string">['a','b','c']</param>
|
||||
</check>
|
||||
</constraints>
|
||||
<family doc="" name="creole">
|
||||
<family doc="general" name="general">
|
||||
<property>normal</property>
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="string">
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="choice">
|
||||
<choice type="string">a</choice>
|
||||
<choice type="string">b</choice>
|
||||
<choice type="string">c</choice>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value>a</value>
|
||||
<value type="string">b</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
|
Reference in New Issue
Block a user