Text.vue 462 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <v-text-field
  3. v-model="value"
  4. type="text"
  5. outlined
  6. append-icon="mdi-magnify"
  7. :label="$t('what') + ' ?'"
  8. @click:append="$emit('change', value)"
  9. />
  10. </template>
  11. <script>
  12. export default {
  13. props: {
  14. value: {
  15. type: String,
  16. required: false,
  17. default: ''
  18. }
  19. },
  20. watch: {
  21. value () {
  22. this.$emit('input', this.value)
  23. }
  24. }
  25. }
  26. </script>
  27. <style>
  28. .v-input__control {
  29. height: 56px;
  30. }
  31. </style>