@eeacms/volto-clms-theme 1.1.295 → 1.1.296
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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [1.1.296](https://github.com/eea/volto-clms-theme/compare/1.1.295...1.1.296) - 16 June 2026
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Refs #297796 - Fix ArrayWidget error to make related datasets field sortable. [GhitaB - [`b291165`](https://github.com/eea/volto-clms-theme/commit/b291165bf29a433cf9ed30aa9247fe161dd83bf4)]
|
|
7
12
|
### [1.1.295](https://github.com/eea/volto-clms-theme/compare/1.1.294...1.1.295) - 8 June 2026
|
|
8
13
|
|
|
9
14
|
#### :house: Internal changes
|
package/package.json
CHANGED
|
@@ -299,14 +299,15 @@ class ArrayWidget extends Component {
|
|
|
299
299
|
!this.props.creatable
|
|
300
300
|
? SortableContainer(Select)
|
|
301
301
|
: SortableContainer(CreatableSelect);
|
|
302
|
-
|
|
303
302
|
return (
|
|
304
303
|
<FormFieldWrapper {...this.props}>
|
|
305
304
|
<SortableSelect
|
|
306
305
|
useDragHandle
|
|
307
306
|
// react-sortable-hoc props:
|
|
308
307
|
axis="xy"
|
|
309
|
-
onSortEnd={
|
|
308
|
+
onSortEnd={(sortProp) => {
|
|
309
|
+
this.onSortEnd(selectedOption, sortProp);
|
|
310
|
+
}}
|
|
310
311
|
menuShouldScrollIntoView={false}
|
|
311
312
|
distance={4}
|
|
312
313
|
// small fix for https://github.com/clauderic/react-sortable-hoc/pull/352:
|
|
@@ -325,7 +326,9 @@ class ArrayWidget extends Component {
|
|
|
325
326
|
: this.props.choices
|
|
326
327
|
? [
|
|
327
328
|
...choices,
|
|
328
|
-
...(this.props.noValueOption &&
|
|
329
|
+
...(this.props.noValueOption &&
|
|
330
|
+
(this.props.default === undefined ||
|
|
331
|
+
this.props.default === null)
|
|
329
332
|
? [
|
|
330
333
|
{
|
|
331
334
|
label: this.props.intl.formatMessage(
|