2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 19:29:02 +00:00
books/client/view/controls/data.js

14 lines
290 B
JavaScript
Raw Normal View History

2018-01-09 13:40:56 +00:00
const BaseControl = require('./base');
class DataControl extends BaseControl {
2018-01-12 12:25:07 +00:00
make() {
super.make();
2018-04-02 17:07:42 +00:00
if (!this.inputType) {
this.inputType = 'text';
}
this.input.setAttribute('type', this.inputType);
2018-01-12 12:25:07 +00:00
}
2018-01-09 13:40:56 +00:00
};
module.exports = DataControl;