Closed zergionn closed 3 years ago
We have: ui element extended from 'Magento_Ui/js/form/element/date' - item
item
We want to call validate function from this element - item.validate()
item.validate()
Expected result: item.validate() returns object from Magento_Ui/js/form/element/abstract.js line 419
Actual result: item.validate() returns undefined
undefined
I think that the reason is Dotdigitalgroup_Sms/js/setAdditionalParams.js mixin that calls this._super() but not returns it.
this._super()
PR: #2
We have: ui element extended from 'Magento_Ui/js/form/element/date' -
item
We want to call validate function from this element -
item.validate()
Expected result:
item.validate()
returns object from Magento_Ui/js/form/element/abstract.js line 419Actual result:
item.validate()
returnsundefined
I think that the reason is Dotdigitalgroup_Sms/js/setAdditionalParams.js mixin that calls
this._super()
but not returns it.