workfloworchestrator / orchestrator-ui-library

Component library for the orchestrator-ui (v2) which is published in npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use `FormNotCompleteResponse.meta.hasNext` value to style Form submit button

dmarjenburgh opened this issue · comments

Since orchestrator-core 2.2.0, the FormNotCompleteResponse can return a meta property with metadata about the form (i.e. not used for user-input or validation purposes)

The meta object can contain a hasNext key with a boolean value, specifying that there is another FormPage after the current one. This should be used to show a submit or next label text on the form button and perhaps style it differently.

Related links: