2
0
mirror of https://github.com/frappe/books.git synced 2024-11-11 00:00:56 +00:00
books/ui/components/controls/Text.vue
2018-06-27 20:08:27 +05:30

24 lines
450 B
Vue

<script>
import Base from './Base';
export default {
extends: Base,
methods: {
getInputTag() {
return 'textarea';
},
getInputAttrs() {
return {
id: this.id,
required: this.docfield.required,
rows: 3
};
},
getDomProps() {
return {
value: this.value
}
}
}
}
</script>