2
0
mirror of https://github.com/frappe/books.git synced 2024-12-28 21:02:44 +00:00
books/ui/components/controls/Text.vue

25 lines
415 B
Vue
Raw Normal View History

2018-06-27 14:38:27 +00:00
<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
};
2018-06-27 14:38:27 +00:00
}
}
};
2018-06-27 14:38:27 +00:00
</script>