mirror of
https://github.com/frappe/books.git
synced 2024-11-14 01:14:03 +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; |