mirror of
https://github.com/frappe/books.git
synced 2024-11-09 23:30:56 +00:00
input type overridable
This commit is contained in:
parent
a74ec62abe
commit
fa612fdeff
@ -3,7 +3,11 @@ const BaseControl = require('./base');
|
||||
class DataControl extends BaseControl {
|
||||
make() {
|
||||
super.make();
|
||||
this.input.setAttribute('type', 'text');
|
||||
|
||||
if (!this.inputType) {
|
||||
this.inputType = 'text';
|
||||
}
|
||||
this.input.setAttribute('type', this.inputType);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user