Giter VIP home page Giter VIP logo

Comments (4)

NuwanDhanushka avatar NuwanDhanushka commented on May 19, 2024 1

How can I clear the VuePhoneNumberInput after form submitting? I tried to make model to null but the green border still exits even the number disappears. Is there any way of doing it thanks 👍

from vue-phone-number-input.

LouisMazel avatar LouisMazel commented on May 19, 2024

What is the best ? Each country in the language of the country?

from vue-phone-number-input.

webistomin avatar webistomin commented on May 19, 2024

What is the best ? Each country in the language of the country?

I think you should add language prop with type Array. Default value for the prop will be your array. So we can use it like this:

<template>
  <VuePhoneNumberInput v-model="yourValue" :language="language" />
</template>

<script>
  import { ru } from 'vue-phone-number-input/dist/locale'

  export default {
    data() {
     return {
       language: ru,
     }
    }
  };
</script>

People can contribute their own translation to your project.

from vue-phone-number-input.

ahmadjaffal avatar ahmadjaffal commented on May 19, 2024

@LouisMazel is there a way to translate the country names in the list?

from vue-phone-number-input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.