We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d8132 commit 27c3f94Copy full SHA for 27c3f94
src/formkit/PrimeKnob.vue
@@ -11,6 +11,10 @@ function handleInput(e: any) {
11
context?.handlers.blur(e)
12
}
13
14
+function updateValue(n: number) {
15
+ context?.node.input(n)
16
+}
17
+
18
const styleClass = computed(() => (context?.state.validationVisible && !context?.state.valid) ? `${attrs?.class} p-invalid` : attrs?.class)
19
</script>
20
@@ -40,6 +44,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
40
44
:pt-options="attrs.ptOptions"
41
45
:unstyled="attrs.unstyled ?? false"
42
46
@change="handleInput"
47
+ @update:model-value="updateValue"
43
48
/>
49
</div>
50
</template>
0 commit comments