@homecode/ui 4.30.14 → 4.30.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -208,9 +208,7 @@ function Select2(props) {
208
208
  const { label, className, ...rest } = triggerProps;
209
209
  const props = omit(rest, ['name', 'inputProps']);
210
210
  isMultiple$1 && value && value.length > 0;
211
- const fullSelectedLabel = [label, additionalLabel].filter(Boolean);
212
- // ?
213
- // : [selectedLabel, label, additionalLabel].filter(Boolean);
211
+ const fullSelectedLabel = [selectedLabel, additionalLabel].filter(Boolean);
214
212
  const hasSelected = fullSelectedLabel.length > 0;
215
213
  const displayLabel = hasSelected ? fullSelectedLabel : label;
216
214
  const title = hasSelected && !isMultiple$1 ? fullSelectedLabel : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "4.30.14",
3
+ "version": "4.30.15",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "tests": "jest",