dotmailer / dotmailer-magento2-extension-sms

MIT License
0 stars 3 forks source link

setAdditionalParams.js mixin error #1

Closed zergionn closed 3 years ago

zergionn commented 3 years ago

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 419

Actual result: item.validate() returns undefined

I think that the reason is Dotdigitalgroup_Sms/js/setAdditionalParams.js mixin that calls this._super() but not returns it.

zergionn commented 3 years ago

PR: #2