@@ -116,9 +116,13 @@ const CONTEXT = { target: 'contextWins', extraFromHost: 'present' };
116116 *
117117 * `variant` (objectstack#26665) is the next, beside `confirmText`: the runner
118118 * reads it to paint that question's confirm button. Same reading.
119+ *
120+ * `submitText` (objectstack#28158) is the next, beside `description`: the
121+ * param dialog reads both, the line under its title and its submit button.
122+ * Same reading.
119123 */
120124const BUTTON_ORDER = [
121- 'type' , 'name' , 'label' , 'description' , 'target' , 'openIn' , 'endpoint' , 'method' ,
125+ 'type' , 'name' , 'label' , 'description' , 'submitText' , ' target', 'openIn' , 'endpoint' , 'method' ,
122126 'params' ,
123127 'bodyExtra' , 'bodyShape' , 'operation' , 'confirmText' , 'variant' , 'successMessage' , 'outcomeMessages' , 'errorMessage' ,
124128 'refreshAfter' , 'undoable' , 'recordIdField' , 'locations' , 'toast' , 'resultDialog' , 'onSuccess' , 'objectName' ,
@@ -130,7 +134,7 @@ const BUTTON_ORDER = [
130134 * `params` key used to, so the order is unchanged.
131135 */
132136const ICON_ORDER = [
133- 'type' , 'name' , 'label' , 'description' , 'target' , 'openIn' , 'endpoint' , 'method' ,
137+ 'type' , 'name' , 'label' , 'description' , 'submitText' , ' target', 'openIn' , 'endpoint' , 'method' ,
134138 'params' ,
135139 'bodyExtra' , 'bodyShape' , 'operation' , 'confirmText' , 'variant' , 'successMessage' , 'outcomeMessages' , 'errorMessage' ,
136140 'refreshAfter' , 'locations' , 'toast' , 'resultDialog' , 'onSuccess' , 'objectName' ,
0 commit comments