Skip to content

Commit ecd9ecc

Browse files
ENGCOM-5063: Fixed issue #22639: Without select attribute click on add attribute it display all selected when add attribute again. #22724
- Merge Pull Request #22724 from maheshWebkul721/magento2:fixed-issue-22639 - Merged commits: 1. 9c8e600 2. acd57c3
2 parents 8df2ba5 + acd57c3 commit ecd9ecc

File tree

1 file changed

+12
-2
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier

1 file changed

+12
-2
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Attributes.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ public function __construct(
6767
}
6868

6969
/**
70-
* {@inheritdoc}
70+
* @inheritdoc
71+
*
7172
* @since 101.0.0
7273
*/
7374
public function modifyData(array $data)
@@ -76,6 +77,8 @@ public function modifyData(array $data)
7677
}
7778

7879
/**
80+
* Check if can add attributes on product form.
81+
*
7982
* @return boolean
8083
*/
8184
private function canAddAttributes()
@@ -89,7 +92,8 @@ private function canAddAttributes()
8992
}
9093

9194
/**
92-
* {@inheritdoc}
95+
* @inheritdoc
96+
*
9397
* @since 101.0.0
9498
*/
9599
public function modifyMeta(array $meta)
@@ -111,6 +115,8 @@ public function modifyMeta(array $meta)
111115
}
112116

113117
/**
118+
* Modify meta customize attribute modal.
119+
*
114120
* @param array $meta
115121
* @return array
116122
*/
@@ -207,6 +213,8 @@ private function customizeAddAttributeModal(array $meta)
207213
}
208214

209215
/**
216+
* Modify meta to customize create attribute modal.
217+
*
210218
* @param array $meta
211219
* @return array
212220
*/
@@ -289,6 +297,8 @@ private function customizeCreateAttributeModal(array $meta)
289297
}
290298

291299
/**
300+
* Modify meta to customize attribute grid.
301+
*
292302
* @param array $meta
293303
* @return array
294304
*/

0 commit comments

Comments
 (0)