@5minds/node-red-dashboard-2-processcube-dynamic-form 2.0.3-develop-d8383e-mcd36cwv → 2.0.3-develop-73e272-mcd53ab4
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.
|
@@ -98,7 +98,6 @@ import { getCurrentInstance, markRaw, nextTick } from 'vue'
|
|
|
98
98
|
import '@formkit/themes/genesis'
|
|
99
99
|
import UIDynamicFormFooterAction from './FooterActions.vue'
|
|
100
100
|
import UIDynamicFormTitleText from './TitleText.vue'
|
|
101
|
-
import { rules } from 'eslint-plugin-vue'
|
|
102
101
|
|
|
103
102
|
// eslint-disable-next-line no-unused-vars
|
|
104
103
|
function requiredIf ({ value }, [targetField, expectedValue], node) {
|
|
@@ -139,7 +138,9 @@ export default {
|
|
|
139
138
|
const formkitConfig = defaultConfig({
|
|
140
139
|
theme: 'genesis',
|
|
141
140
|
locales: { de },
|
|
142
|
-
locale: 'de'
|
|
141
|
+
locale: 'de',
|
|
142
|
+
// eslint-disable-next-line object-shorthand
|
|
143
|
+
rules: { requiredIf: requiredIf }
|
|
143
144
|
})
|
|
144
145
|
app.use(plugin, formkitConfig)
|
|
145
146
|
},
|