Skip to content

Commit 0e041d0

Browse files
committed
fix: update type check for prime input nodes in addPrimeAsteriskPlugin
1 parent a71932a commit 0e041d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { FormKitExtendableSchemaRoot, FormKitNode } from '@formkit/core'
22

33
export function addPrimeAsteriskPlugin(node: FormKitNode): void {
4-
if (!node.props.type.startsWith('prime'))
4+
if (!node.props.type.startsWith('primeInput'))
55
return
66

77
node.on('created', () => {

0 commit comments

Comments
 (0)