mirror of
https://github.com/frappe/books.git
synced 2024-12-26 20:30:25 +00:00
ea441c240b
- Add Submit Buttons - Disable inputs in submitted form - Simplify FormLayout template
25 lines
491 B
Vue
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>
|