Answers for "quasar input v-if prefix"

0

quasar input v-if prefix

<template>
  <q-input type="email" v-model="email" float-label="Email" :suffix="suffix" clearable />
</template>

<script>
export default {
  data () {
    return {
      email: '',
      suffix: '@gmail.com'    
    }
  },
  methods: {
    login: function (event) {
      console.log(this.email + this.suffix + ':' + this.password)
    }
  }
}
</script>
Posted by: Guest on July-27-2021

Browse Popular Code Answers by Language