next-helios-fe 1.10.0 → 1.10.1
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
@@ -69,10 +69,6 @@ export const ModalSelect: React.FC<ModalSelectProps> = ({
|
|
69
69
|
const [search, setSearch] = useState<string>("");
|
70
70
|
const [delayedSearch, setDelayedSearch] = useState<string>("");
|
71
71
|
|
72
|
-
useEffect(() => {
|
73
|
-
console.log(selectedMenuHistory);
|
74
|
-
}, [selectedMenuHistory]);
|
75
|
-
|
76
72
|
useEffect(() => {
|
77
73
|
if (value) {
|
78
74
|
setTempValue(value);
|
@@ -179,12 +179,12 @@ export const MultipleSelect: React.FC<MultipleSelectProps> = ({
|
|
179
179
|
value={tempValue.join(", ")}
|
180
180
|
onChange={(e) => {}}
|
181
181
|
onClick={(e) => {
|
182
|
-
e.preventDefault();
|
183
|
-
dropdownTriggerRef.current?.click();
|
184
|
-
setDropdownWidth(
|
185
|
-
inputRef?.current?.getBoundingClientRect()?.width || 0
|
186
|
-
);
|
187
182
|
if (!readOnly) {
|
183
|
+
e.preventDefault();
|
184
|
+
dropdownTriggerRef.current?.click();
|
185
|
+
setDropdownWidth(
|
186
|
+
inputRef?.current?.getBoundingClientRect()?.width || 0
|
187
|
+
);
|
188
188
|
setOpenDropdown(true);
|
189
189
|
}
|
190
190
|
}}
|
@@ -116,12 +116,12 @@ export const Select: React.FC<SelectProps> = ({
|
|
116
116
|
}
|
117
117
|
onChange={(e) => {}}
|
118
118
|
onClick={(e) => {
|
119
|
-
e.preventDefault();
|
120
|
-
dropdownTriggerRef.current?.click();
|
121
|
-
setDropdownWidth(
|
122
|
-
inputRef?.current?.getBoundingClientRect()?.width || 0
|
123
|
-
);
|
124
119
|
if (!readOnly) {
|
120
|
+
e.preventDefault();
|
121
|
+
dropdownTriggerRef.current?.click();
|
122
|
+
setDropdownWidth(
|
123
|
+
inputRef?.current?.getBoundingClientRect()?.width || 0
|
124
|
+
);
|
125
125
|
setOpenDropdown(true);
|
126
126
|
}
|
127
127
|
}}
|