We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce888b commit 4a44ec9Copy full SHA for 4a44ec9
app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/components/price-configurable.js
@@ -11,9 +11,6 @@ define([
11
12
return Abstract.extend({
13
defaults: {
14
- listens: {
15
- isConfigurable: 'handlePriceValue'
16
- },
17
imports: {
18
isConfigurable: '!ns = ${ $.ns }, index = configurable-matrix:isEmpty'
19
},
@@ -27,6 +24,10 @@ define([
27
24
this._super();
28
25
// resolve initial disable state
29
26
this.handlePriceValue(this.isConfigurable);
+ // add listener to track "configurable" type
+ this.setListeners({
+ isConfigurable: 'handlePriceValue'
30
+ });
31
32
return this;
33
0 commit comments