mirror of
https://github.com/frappe/books.git
synced 2024-12-25 12:10:06 +00:00
14 lines
347 B
JavaScript
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; |