Web Component – Compare two values (Compare.Vue) (eng)

There are several web components available for Forms. The Compare.Vue web component compares values from two fields. If the value of the two fields are equal, a third field is set to true and if the fields do not match it is set to false.

Example usage, how to declare in form as “Custom HTML“:

<compare-component value1="example1" value2="example2" setfield="example3"></condition-component>

Will check if value1 equals value2 and try to set the field named “example3” to true or false.



Other available web components to equip your forms with:

Var denna artikel till hjälp?
0 av 0 tyckte detta var till hjälp

0 Kommentarer

Artikeln är stängd för kommentarer.