-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation and add renderer theme provider to live editor
- Loading branch information
Showing
7 changed files
with
49 additions
and
106 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...tation/docs/api/smart-forms-renderer/functions/removeInternalIdsFromResponse.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Function: removeInternalIdsFromResponse() | ||
|
||
> **removeInternalIdsFromResponse**(`questionnaire`, `questionnaireResponse`): `QuestionnaireResponse` | ||
Remove all instances of item.answer.id from the filled QuestionnaireResponse. | ||
These IDs are used internally for rendering repeating items, and can be safely left out of the final response. | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | | ||
| :------ | :------ | | ||
| `questionnaire` | `Questionnaire` | | ||
| `questionnaireResponse` | `QuestionnaireResponse` | | ||
|
||
## Returns | ||
|
||
`QuestionnaireResponse` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.