diff --git a/src/style_manager/model/PropertyInteger.js b/src/style_manager/model/PropertyInteger.js index ff16de43f..513cf1a21 100644 --- a/src/style_manager/model/PropertyInteger.js +++ b/src/style_manager/model/PropertyInteger.js @@ -21,7 +21,8 @@ export default Property.extend({ max: '' }, - init() { + initialize(props = {}, opts = {}) { + Property.callParentInit(Property, this, props, opts); const unit = this.get('unit'); const units = this.get('units'); this.input = new InputNumber({ model: this }); @@ -29,6 +30,7 @@ export default Property.extend({ if (units.length && !unit) { this.set('unit', units[0]); } + Property.callInit(this, props, opts); }, clearValue(opts = {}) {