DynamicAttributesPanel does not keep defined order of fields

Hi

I have defined 4 dynamic attributes for an Entity that have to be displayed in a single column, and in a certain order, which I defined in the Attribute Location panel of the Category.

image

But when I display them in a DynamicPanelAttributes the order is lost

image

image

I used the following workaround.

                          <form id="quotationForm" dataContainer="opportunityDc">
                                <column width="350px" childrenCaptionWidth="150px">
                                    <textField property="+quotationMinRM"/>
                                    <textField property="+quotationMaxRM"/>
                                    <textField property="+quotationMinArgus"/>
                                    <textField property="+quotationMaxArgus"/>
                                </column>
                            </form>

image

EDIT : I saw there is the possibility to affect the fields on a Table or a Form through configuration. But If you have several Categories for a Categorized Entity you need to use DynamicAttributesPanel anyway, and in my case order or fields has to be consistent.

Regards
Michael

Hi! Could you provide more information, namely: The version of the plugin, what types of attributes or demo project, where the problem is reproduced.
Are you using the CUBA or Jmix plugin?
I tried to reproduce with different types of attributes and everything was displayed correctly.
Screenshot_5 Screenshot_10

  • I have set the order I need
  • Click “Save Configuration”>OK>Apply changes.

Hi

I made a small project and it seems that with hover it’s working.

I will convert it to helium theme to see if issue is coming from there.

image

dynamic.zip (80.1 KB)

Michael

Michael, I have installed your project and I also have the attributes set in the order I need.


Could it be that you didn’t save the changes you made?
Screenshot_26

Maybe a mistake on my side I will check on the original project.
Thanks @a.afanasev
Michael