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

Prop no-validation does not work with MazPhoneNumberInput component

Fishlex0 opened this issue · comments

Describe the bug
The flag "no-validation" does not work on MazPhoneNumberInput. The flag is described in the component features list.

To Reproduce

  1. Add "no-validation" flag on the MazPhoneNumberInput.
  2. Type a phone number.

Expected behavior
It should not make the border red if the number is invalid, or green if it's correct.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version118.0.5993.120

Hi @Fishlex0,

I will release a new version to handle these states (error and success).

New props :

  • no-validation-success: to disable success UI state
  • no-validation-error: to disable success UI state

PR: #719

Released in v3.21.4

Changelog: https://github.com/LouisMazel/maz-ui/releases/tag/v3.21.4

Thanks, it works now