Preparing Child Fields
Preparing Subform
Replicating the issue
You'd expect that all values in the child fields retain their value when re-ordering the rows.
The values of the List child field get deleted upon re-ordering.
Here is a quick video showing the issue:
https://drive.google.com/file/d/1cr1LJejZSCsmXuzXw_vPe-HguPx9iZ6G/view?usp=sharing
Joomla 4.3.4
Labels |
Added:
No Code Attached Yet
|
Hm, no, only for unsaved.
It something related to Choices re-init, while changing location in DOM
https://github.com/joomla/joomla-cms/blob/4.3-dev/build/media_source/system/js/fields/joomla-field-fancy-select.w-c.es6.js
Can use following, to reproduce:
<field type="subform" name="subform" label="subform" multiple="true">
<form>
<field type="list" name="list" label="list" layout="joomla.form.field.list-fancy-select">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</field>
</form>
</field>
Labels |
Added:
bug
|
Which database and version is in use? I have another problem with tables consisting of field 'ordering' which is buggy since update mariadb 10.11.4 to 11.1.2 Perhaps there is a correlation.
No, there is no correlation to databases at all here. This is a javascript issue.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-11-11 13:23:21 |
Closed_By | ⇒ | Fedik |
Does it lossing the value in the form that already saved, or only for newly selected but not saved?