mirror of
https://github.com/frappe/books.git
synced 2024-12-23 19:39:07 +00:00
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
const BaseControl = require('./base');
|
|
|
|
class TextControl extends BaseControl {
|
|
make_input() {
|
|
this.input = frappe.ui.add('textarea', 'form-control', this.form_group);
|
|
}
|
|
make() {
|
|
super.make();
|
|
this.input.setAttribute('rows', '8');
|
|
}
|
|
};
|
|
|
|
module.exports = TextControl; |