Skip to content

Passing values from custom field input up to parent? #533

@rublev

Description

@rublev

Sorry I know this is supposed to be a bug report but I have some questions about this library because it is extremely confusing and the documentation isn't clear.

I've added a custom element fieldPhone that I reference with type phone. Inside this custom element, I have a method onInput({ number, isValid, country }) and I want to pass the isValid from the custom abstract field component up to VueFormGenerator so I can validate using it.

How can I do this without having to add vuex on top or add custom event buses?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions