enhancement
critical
major
minor
minor
When creating a new dialog transaction with input fields, the order of the buttons in the ButtonBar is not consistent with the rest of the application. The button to close the dialog is rendered first, followed by the button to execute the action.
For example, if you create a dialog for creating an object, the button to create a new object appears first, followed by the button to cancel. The "Close" or "Cancel" action should be positioned as far to the right as possible.
The issue with the order in the “Transaction with Input” dialog lies in the configuration of the transaction handler. It belongs to the “main” clique, while the “Close” command belongs to the “close” clique in the “basic-edit” group. The “main” clique group is positioned before the “basic-edit” group. For the ButtonBar, commands from cliques in the same group are rendered in the order they are arranged; however, commands from cliques in different groups are “inverted,” i.e., their order is reversed. Commands from cliques in the last groups are rendered first, and commands from cliques in the first groups are rendered last.
Code Migration
In layouts that use transactionAssistent.template.xml, the clique must be changed from “main ” to “apply.”
Test
Configure a "Transaction with Input" dialog—for example, for a table—and verify that the "Close" button is positioned on the far right.