show() and showAcceptedContent() methods return promises that resolve on success and reject on error.
Show result
WhenClicktermDialog.show() resolves:
Possible outcomes
A
null Signature means the user has already accepted the latest major version.
No action is needed on your part.Error handling
Errors are returned via the Promise.catch() handler:
Using async/await
Inline mode callbacks
Inline mode uses a different callback pattern. Instead of a single Promise fromshow(), you get:
onChangecallback — fires every time the checkbox state changes (passed via options torenderInline())finalize()Promise — resolves when the agreement is submitted to the backend

