next-helios-fe 1.10.23 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-helios-fe",
3
- "version": "1.10.23",
3
+ "version": "1.10.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -175,7 +175,7 @@ export const ModalSelect: React.FC<ModalSelectProps> = ({
175
175
  disabled={disabled}
176
176
  required={required}
177
177
  value={tempValue || ""}
178
- readOnly
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
- readOnly
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={