mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +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; |