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] MazPhoneNumberInput max-length

alekseyburn opened this issue · comments

Hello, how can i to set the max-length to mazPhoneNumberInput? I don't see this option in documentation.

commented

Hi @alekseyburn,

The MazPhoneNumberIput uses MazInput and inherits all attributes, so you can:

<MazPhoneNumberInput
  ref="Phone"
  max-length="8"
  v-model="phoneNumber"
  @update="results = getJson($event)"
/>