mirror of
https://github.com/frappe/books.git
synced 2024-12-25 12:10:06 +00:00
14 lines
290 B
JavaScript
14 lines
290 B
JavaScript
const BaseControl = require('./base');
|
|
|
|
class DataControl extends BaseControl {
|
|
make() {
|
|
super.make();
|
|
|
|
if (!this.inputType) {
|
|
this.inputType = 'text';
|
|
}
|
|
this.input.setAttribute('type', this.inputType);
|
|
}
|
|
};
|
|
|
|
module.exports = DataControl; |