-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: document expression field in form element library (8.5) (#3633)
* chore: improve dynamic list description in form element library * feat: document expression field in form element library * chore: backport expression field documentation to 8.5
- Loading branch information
Showing
9 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...mponents/modeler/forms/form-element-library/forms-element-library-expression.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,23 @@ | ||
--- | ||
id: forms-element-library-expression | ||
title: Expression field | ||
description: A form element to compute form state | ||
--- | ||
|
||
An expression field allowing the user to compute new data based on form state. | ||
|
||
![Form Expression Field Symbol](/img/form-icons/form-expression.svg) | ||
|
||
### Configurable properties | ||
|
||
- **Key**: Binds the field to a form variable, refer to [data binding docs](../configuration/forms-config-data-binding.md). | ||
- **Target value**: Defines an [expression](../../feel/language-guide/feel-expressions-introduction.md) to evaluate. | ||
- **Compute on**: Defines when the expression should be evaluated. Either whenever the result changes, or only on form submission. | ||
- **Deactivate if**: [Expression](../../feel/language-guide/feel-expressions-introduction.md) to disable the expression. | ||
- **Columns**: Space the field will use inside its row. **Auto** means it will automatically adjust to available space in the row. Read more about the underlying grid layout in the [Carbon Grid documentation](https://carbondesignsystem.com/guidelines/2x-grid/overview). | ||
|
||
:::info | ||
|
||
The expression field is a simple way to create intermediary data which may be re-used within your form, or further down your process. To effectively use this component, a good understanding of [FEEL](../../feel/language-guide/feel-expressions-introduction.md) is required. | ||
|
||
::: |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
...mponents/modeler/forms/form-element-library/forms-element-library-expression.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,23 @@ | ||
--- | ||
id: forms-element-library-expression | ||
title: Expression field | ||
description: A form element to compute form state | ||
--- | ||
|
||
An expression field allowing the user to compute new data based on form state. | ||
|
||
![Form Expression Field Symbol](/img/form-icons/form-expression.svg) | ||
|
||
### Configurable properties | ||
|
||
- **Key**: Binds the field to a form variable, refer to [data binding docs](../configuration/forms-config-data-binding.md). | ||
- **Target value**: Defines an [expression](../../feel/language-guide/feel-expressions-introduction.md) to evaluate. | ||
- **Compute on**: Defines when the expression should be evaluated. Either whenever the result changes, or only on form submission. | ||
- **Deactivate if**: [Expression](../../feel/language-guide/feel-expressions-introduction.md) to disable the expression. | ||
- **Columns**: Space the field will use inside its row. **Auto** means it will automatically adjust to available space in the row. Read more about the underlying grid layout in the [Carbon Grid documentation](https://carbondesignsystem.com/guidelines/2x-grid/overview). | ||
|
||
:::info | ||
|
||
The expression field is a simple way to create intermediary data which may be re-used within your form, or further down your process. To effectively use this component, a good understanding of [FEEL](../../feel/language-guide/feel-expressions-introduction.md) is required. | ||
|
||
::: |
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