2
0
mirror of https://github.com/frappe/books.git synced 2025-03-19 17:42:23 +00:00

14 lines
290 B
JavaScript
Raw Normal View History

2018-01-09 19:10:56 +05:30
const BaseControl = require('./base');
class DataControl extends BaseControl {
2018-01-12 17:55:07 +05:30
make() {
super.make();
2018-04-02 22:37:42 +05:30
if (!this.inputType) {
this.inputType = 'text';
}
this.input.setAttribute('type', this.inputType);
2018-01-12 17:55:07 +05:30
}
2018-01-09 19:10:56 +05:30
};
module.exports = DataControl;