diff --git a/src/__fk-inputs__/inputs/input-password.ts b/src/__fk-inputs__/inputs/input-password.ts index 5c894a4..99e86f8 100644 --- a/src/__fk-inputs__/inputs/input-password.ts +++ b/src/__fk-inputs__/inputs/input-password.ts @@ -5,14 +5,12 @@ import SchemaComponent from 'primevue/password'; import { markRaw } from 'vue'; import { messages } from '../sections/messages'; -const cmpName = `SchemaComponent${SchemaComponent.name}`; - export const PInputPassword: FormKitTypeDefinition = { type: 'input', schema: outer( label('$label'), createSection('input', () => ({ - $cmp: cmpName, + $cmp: markRaw(SchemaComponent) as any, bind: '$attrs', props: { invalid: '$state.invalid', @@ -27,9 +25,6 @@ export const PInputPassword: FormKitTypeDefinition = { }))(), messages(), ), - library: { - [cmpName]: markRaw(SchemaComponent), - }, features: [casts], // schemaMemoKey: 'g2f31c24kjh', };