react-frontend-common-components 0.0.75 → 0.0.77

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-frontend-common-components",
3
- "version": "0.0.75",
3
+ "version": "0.0.77",
4
4
  "description": "Reusable frontend library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -77,8 +77,8 @@ const AppPasswordInput = ({
77
77
  {showIcon && (
78
78
  <span className={"icon"} onClick={togglePasswordVisibility}>
79
79
  {!showPassword
80
- ? icon || Icons.eyePassword
81
- : hiddenIcon || Icons.iconHiddenIcon}
80
+ ? icon || Icons.iconHiddenIcon
81
+ : hiddenIcon || Icons.eyePassword}
82
82
  </span>
83
83
  )}
84
84
  </div>
@@ -37,7 +37,7 @@ const AppSelect = ({
37
37
  className={"select"}
38
38
  showSearch={showSearch}
39
39
  disabled={disabled}
40
- value={value}
40
+ value={value?.length ? value : null}
41
41
  placeholder={`${required ? placeholder + " (required)" : placeholder}`}
42
42
  onChange={(value: string | string[]) =>
43
43
  handleChange && handleChange(value)