Skip to content

Commit 2964628

Browse files
authored
Merge pull request #1044 from rvsia/fixWizardConstImport
Do not translate wizard flag import
2 parents e57052b + 0d8408c commit 2964628

File tree

1 file changed

+5
-2
lines changed
  • packages/react-renderer-demo/src/doc-components/examples-texts

1 file changed

+5
-2
lines changed

packages/react-renderer-demo/src/doc-components/examples-texts/wizard.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@ D) **conditional submit step**
4444

4545
Based on a form state value, a step can change into the last step in the wizard and show *submit* button instead of *next* button.
4646

47-
With default constant:
47+
With default constant: `@@ddf-common-wizard__conditional-submit-step`
48+
49+
You can import this constant:
4850

4951
```jsx
50-
import { CONDITIONAL_SUBMIT_FLAG } from '@data-driven-forms/common/wizard'; // const value = @@ddf-common-wizard__conditional-submit-step
52+
--- { "switchable": false } ---
53+
import { CONDITIONAL_SUBMIT_FLAG } from '@data-driven-forms/common/wizard';
5154

5255
...
5356
// next step definition

0 commit comments

Comments
 (0)