Skip to content

Injecting formkit invalid property to primevue component in unstyled mode #51

@lmc3s3f0r

Description

@lmc3s3f0r

Hi! I'm using unstyled PrimeVue 4, and formkit-primevue for validation.

PrimeVue components have an "invalid" property that you can set to true or false to enable some tailwind classes. I'd like to know if there is a way to connect it to FormKit's validation event, so I can set the PrimeVue to invalid instead of adding an extra border through the p-formkit class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions