LouisMazel / maz-ui

Vue & Nuxt library of standalone components & tools to build interfaces

Home Page:https://maz-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUESTION][Phone number input - invalid country code search returns undefined]

subitra opened this issue · comments

Describe the bug

When an invalid country code is input in the country code search, see that undefined is displayed.
I have seen the sandbox examples, where i see an icon is displayed when invalid country code is searched.
Is there any configuration required for this?
Sandbox example
image

To Reproduce

Enter any invalid country code like 4567 in the country code search bar, see undefined

Expected behavior

Display information icon/message when invalid country code is searched.
A clear and concise description of what you expected to happen.

Screenshots

image

Note: I have added some customizations to the field css

Hi @subitra,

Thanks for your feedback. Which version of maz-ui do you use?


With the last version (v3.37.4), I don't have this behavior, the icon is displayed when the search has no results

image

You can test it in the documentation: https://maz-ui.com/components/maz-phone-number-input


Can you share a reproduction link or your code?

Thanks

@subitra Do you still have the error with the latest version?

I am using Vue version 2 and it is not supporting the latest maz-ui version, is it possible to make it working using maz-ui version 2.4.7