Skip to content

Commit 9d85e2a

Browse files
committed
fix(plugin): refine prime input condition in addPrimeAsteriskPlugin
1 parent 622bbc4 commit 9d85e2a

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('primeInput'))
4+
if (!node.props.type.startsWith('prime') || node.props.type.startsWith('primeOutput'))
55
return
66

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

0 commit comments

Comments
 (0)