sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
73 stars 44 forks source link

Change submit button to next on form pages #583

Closed calexh-sar closed 2 months ago

calexh-sar commented 1 year ago

On all pages, submit button change to next except for the last page which remain as submit.

From comment Dan left on Notion ticket: Add support for the “SubmitText” setting in the React Json Form Schema so you can customize the text on the button when needed. Because “Next” has connotations that may not work (it takes you back) we suggest we keep “Submit” as the default. Attempting to guess when the text of the button should change based on it’s location in the BPMN diagram is extremely difficult and will not be estimated.

https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema

fixed by https://github.com/sartography/spiff-arena/pull/662

calexh-sar commented 1 year ago

Investigate a way to specify the button label in the json file.

madhurrya commented 12 months ago

Tested with https://test.app.spiff.status.im/process-models/misc:qa:forms:test-submit-button-text-1

Image