Skip to content

Commit f2f0b63

Browse files
authored
public repo edit
1 parent 72fd248 commit f2f0b63

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

articles/azure-resource-manager/managed-applications/create-uidefinition-functions.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,9 @@ Assume `element1` and `element2` are undefined. The following example returns `"
481481
"[coalesce(steps('foo').element1, steps('foo').element2, 'foobar')]"
482482
```
483483

484-
This function is especially in the context of optional invocation that happens due to user action after the page loads. For example, if the constraints placed on one field in the UI depend on the currently selected value of another, **initially non-visible** field. In this case, `coalesce()` can be used to allow the function to be syntactically valid at page load time, while having the desired effect when the user interacts with the field.
484+
This function is especially useful in the context of optional invocation that happens due to user action after the page loads. An example is if the constraints placed on one field in the UI depend on the currently selected value of another, **initially non-visible** field. In this case, `coalesce()` can be used to allow the function to be syntactically valid at page load time while having the desired effect when the user interacts with the field.
485485

486-
Consider this `DropDown` which allows the user to choose from several different database types.
486+
Consider this `DropDown`, which allows the user to choose from several different database types:
487487

488488
```
489489
{
@@ -512,14 +512,13 @@ Consider this `DropDown` which allows the user to choose from several different
512512
},
513513
```
514514

515-
To condition the action of another field on the current chosen value of this field, use `coalesce()`, as shown here.
515+
To condition the action of another field on the current chosen value of this field, use `coalesce()`, as shown here:
516516

517517
```
518518
"regex": "[concat('^jdbc:', coalesce(steps('section_database').databaseConnectionInfo.databaseType, ''), '.*$')]",
519519
```
520520

521-
This is necessary because the `databaseType` is initially not visible, and therefore does not have a value. This causes the entire expression to not evaluate correctly.
522-
521+
This is necessary because the `databaseType` is initially not visible and therefore does not have a value. This causes the entire expression to not evaluate correctly.
523522

524523
## Conversion functions
525524
These functions can be used to convert values between JSON data types and encodings.

0 commit comments

Comments
 (0)