2
0
mirror of https://github.com/frappe/books.git synced 2024-12-27 04:32:41 +00:00
books/ui/components/controls/Text.vue
thefalconx33 79b99055e0 - Custom doc for Report Filters
- frappe.showModal
- Custom textarea rows
2019-07-30 17:24:27 +05:30

25 lines
415 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: this.docfield.rows || 3,
disabled: this.disabled
};
},
getDomProps() {
return {
value: this.value
};
}
}
};
</script>