2
0
mirror of https://github.com/frappe/books.git synced 2024-09-21 03:39:02 +00:00
books/ui/components/controls/Text.vue
Faris Ansari ea441c240b Form
- Add Submit Buttons
- Disable inputs in submitted form
- Simplify FormLayout template
2018-07-12 13:17:56 +05:30

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