Skip to content

Commit 9946e4c

Browse files
committed
Add enterprise subscription requirement
1 parent ea7b7cb commit 9946e4c

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

docs_headless/src/content/docs/AutoPersistInStoreBase.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The temporary form data is only saved when the user navigates away from the page
1616

1717
Saved data is not sent to the server. It is only persisted using the [store](https://marmelab.com/ra-core/store/) and is removed when the user logs out.
1818

19+
This feature requires a valid is an [Enterprise Edition](https://marmelab.com/ra-enterprise/) subscription.
20+
1921
### Usage
2022

2123
Add `<AutoPersistInStoreBase>` inside a react-admin form:

docs_headless/src/content/docs/AutoSaveBase.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ A component that enables autosaving of the form. It's ideal for long data entry
99
Your browser does not support the video tag.
1010
</video>
1111

12+
This feature requires a valid is an [Enterprise Edition](https://marmelab.com/ra-enterprise/) subscription.
13+
1214
## Usage
1315

1416
Put `<AutoSaveBase>` inside a form built with ra-core [`<Form>`](https://marmelab.com/ra-core/form/):

docs_headless/src/content/docs/BulkUpdateFormBase.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ This component can be used to create forms that update multiple records at once.
99
Your browser does not support the video tag.
1010
</video>
1111

12+
This feature requires a valid is an [Enterprise Edition](https://marmelab.com/ra-enterprise/) subscription.
13+
1214
## Usage
1315

1416
Here's how one could implement a form that sets the role of multiple users:

docs_headless/src/content/docs/useAutoPersistInStore.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The temporary form data is only saved when the user navigates away from the page
1616

1717
Saved data is not sent to the server. It is only persisted using the [store](https://marmelab.com/ra-core/store/) and is removed when the user logs out.
1818

19+
This feature requires a valid is an [Enterprise Edition](https://marmelab.com/ra-enterprise/) subscription.
20+
1921
### Usage
2022

2123
Call `useAutoPersistInStore` inside a react-admin form:

docs_headless/src/content/docs/useAutoSave.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ title: "useAutoSave"
44

55
A hook that automatically saves the form at a regular interval. It works for the `pessimistic` and `optimistic` [`mutationMode`](https://marmelab.com/ra-core/editbase/#mutationmode) but not for the `undoable`.
66

7+
This feature requires a valid is an [Enterprise Edition](https://marmelab.com/ra-enterprise/) subscription.
8+
9+
## Usage
10+
711
Note that you **must** add the `resetOptions` prop with `{ keepDirtyValues: true }` to avoid having the user changes overridden by the latest update operation result.
812

913
**Note**: `useAutoSave` is not compatible with the default `warnWhenUnsavedChanges` prop of the react-admin form components. However, it implements its own similar mechanism which is enabled by default.

0 commit comments

Comments
 (0)