Skip to content

Commit be20f47

Browse files
setOption should set any option which there is not in defaultOptions list
1 parent d4647c1 commit be20f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/api/optionManager/optionManager.factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Object.assign(OptionManager.prototype, {
2525
},
2626
setOption: function (name = missingParamEr('setOption'), value = missingParamEr('setOption')) {
2727
if (['SELECTEDTABID', 'TABS'].indexOf(name.toUpperCase()) >= 0) return this;
28-
if (Object.prototype.hasOwnProperty.call(this._defaultOptions, name)) this.options[name] = value;
28+
this.options[name] = value;
2929
return this;
3030
},
3131
validatePanelComponent: function (tabData) {

0 commit comments

Comments
 (0)