@5minds/node-red-dashboard-2-processcube-dynamic-form 2.6.0-develop-ca9bb4-mgo59lu4 → 2.6.0-develop-d70b79-mgo5cwgw

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-dashboard-2-processcube-dynamic-form",
3
- "version": "2.6.0-develop-ca9bb4-mgo59lu4",
3
+ "version": "2.6.0-develop-d70b79-mgo5cwgw",
4
4
  "description": "The ui component for the ProcessCube dynamic-form",
5
5
  "keywords": [
6
6
  "processcube",
@@ -208,6 +208,22 @@ import UIDynamicFormFooterAction from './FooterActions.vue';
208
208
  import UIDynamicFormTitleText from './TitleText.vue';
209
209
 
210
210
  function requiredIf({ value }, [targetField, expectedValue], node) {
211
+ /*
212
+ {
213
+ $formkit: 'text',
214
+ name: 'companyName',
215
+ label: 'Company Name',
216
+ validation: 'requiredIf:isCompany,true'
217
+ }
218
+ -- oder--
219
+ {
220
+ $formkit: 'text',
221
+ name: 'lastName',
222
+ label: 'Last name',
223
+ validation: 'requiredIf:firstName'
224
+ }
225
+ */
226
+
211
227
  console.debug(arguments);
212
228
 
213
229
  const actual = node?.root?.value?.[targetField];