Skip to content

changeNumber in vue component not returning value, and changeValidity, changeErrorCode only trigger one time #2023

@rizkidarmawan21

Description

@rizkidarmawan21

I try use component with vue like this

<IntlTelInput
     @changeNumber="console.log('changeNumber', $event)"
     @changeValidity="console.log('changeValidity', $event)"
     @changeErrorCode="console.log('changeErrorCode', $event)"
      placeholder="e.g. 8123456789"
      :class="{ invalid: errors.phone_number }"
      :options="{
           initialCountry: 'id',
           separateDialCode: true,
           utilsScript: 'https://cdn.jsdelivr.net/npm/[email protected]/build/js/utils.js',
       }"
 />

But when im console data from event not returning. Like this

Image

did i leave any configuration? i think i have done everything

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