2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/client/view/controls/text.js
2018-02-14 18:20:56 +05:30

14 lines
347 B
JavaScript

const BaseControl = require('./base');
const frappe = require('frappejs');
class TextControl extends BaseControl {
makeInput() {
this.input = frappe.ui.add('textarea', 'form-control', this.getInputParent());
}
make() {
super.make();
this.input.setAttribute('rows', '8');
}
};
module.exports = TextControl;