2
0
mirror of https://github.com/frappe/books.git synced 2025-01-27 00:58:35 +00:00

13 lines
314 B
JavaScript
Raw Normal View History

2018-01-12 17:55:07 +05:30
const BaseControl = require('./base');
class TextControl extends BaseControl {
make_input() {
2018-02-06 22:44:07 +05:30
this.input = frappe.ui.add('textarea', 'form-control', this.get_input_parent());
2018-01-12 17:55:07 +05:30
}
make() {
super.make();
this.input.setAttribute('rows', '8');
}
};
module.exports = TextControl;