2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/client/view/controls/data.js
2018-04-02 22:37:42 +05:30

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;