next-helios-fe 1.10.22 → 1.10.24
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
|
@@ -175,7 +175,7 @@ export const ModalSelect: React.FC<ModalSelectProps> = ({
|
|
|
175
175
|
disabled={disabled}
|
|
176
176
|
required={required}
|
|
177
177
|
value={tempValue || ""}
|
|
178
|
-
|
|
178
|
+
onChange={(e) => {}}
|
|
179
179
|
/>
|
|
180
180
|
) : (
|
|
181
181
|
<Form.MultipleSelect
|
|
@@ -195,11 +195,11 @@ export const ModalSelect: React.FC<ModalSelectProps> = ({
|
|
|
195
195
|
label={label}
|
|
196
196
|
placeholder={placeholder}
|
|
197
197
|
description={description}
|
|
198
|
-
options={options}
|
|
198
|
+
options={{ ...options, disableDropdown: true }}
|
|
199
199
|
disabled={disabled}
|
|
200
200
|
required={required}
|
|
201
201
|
value={tempValue || []}
|
|
202
|
-
|
|
202
|
+
onChange={(e) => {}}
|
|
203
203
|
/>
|
|
204
204
|
)}
|
|
205
205
|
</div>
|
|
@@ -219,7 +219,7 @@ export const MultipleSelect: React.FC<MultipleSelectProps> = ({
|
|
|
219
219
|
}`}
|
|
220
220
|
>
|
|
221
221
|
<span>{menus.find((i) => i.value === item)?.label}</span>
|
|
222
|
-
{!readOnly && (
|
|
222
|
+
{(!readOnly! || !options?.disableDropdown) && (
|
|
223
223
|
<button
|
|
224
224
|
type="button"
|
|
225
225
|
disabled={
|
|
@@ -1172,6 +1172,7 @@ export const Table: TableComponentProps = ({
|
|
|
1172
1172
|
{ label: "50", value: "50" },
|
|
1173
1173
|
{ label: "100", value: "100" },
|
|
1174
1174
|
]}
|
|
1175
|
+
required
|
|
1175
1176
|
disabled={loading}
|
|
1176
1177
|
value={maxRow?.toString()}
|
|
1177
1178
|
onChange={(e) => {
|
|
@@ -1192,6 +1193,7 @@ export const Table: TableComponentProps = ({
|
|
|
1192
1193
|
{ label: "50", value: "50" },
|
|
1193
1194
|
{ label: "100", value: "100" },
|
|
1194
1195
|
]}
|
|
1196
|
+
required
|
|
1195
1197
|
disabled={loading}
|
|
1196
1198
|
value={maxRow?.toString()}
|
|
1197
1199
|
onChange={(e) => {
|