LouisMazel/maz-ui

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

subitra opened this issue · 3 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