dhre-ui-kit 0.0.220 → 0.0.221

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.
package/lib/index.js CHANGED
@@ -3507,7 +3507,9 @@ const CustomDropdown = (props) => {
3507
3507
  style: [
3508
3508
  styles$8.dropdown,
3509
3509
  dropdownStyle,
3510
- isFocus && (dropdownFocusStyle ?? { borderColor: theme.BORDER_INVERTED["light"] })
3510
+ isFocus && (dropdownFocusStyle ?? {
3511
+ borderColor: theme.BORDER_INVERTED["light"]
3512
+ })
3511
3513
  ],
3512
3514
  placeholderStyle: [styles$8.placeholderStyle, placeholderStyle],
3513
3515
  selectedTextStyle: [styles$8.selectedTextStyle, selectedTextStyle],
@@ -3515,7 +3517,7 @@ const CustomDropdown = (props) => {
3515
3517
  data: data ?? [],
3516
3518
  labelField,
3517
3519
  valueField,
3518
- placeholder,
3520
+ placeholder: keepPlaceholderOnFocus || !isFocus ? placeholder : "",
3519
3521
  value,
3520
3522
  onFocus: () => setIsFocus(true),
3521
3523
  onBlur: () => setIsFocus(false),