Skip to content

Commit

Permalink
Update jasp-qml-guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RensDofferhoff authored May 22, 2023
1 parent 599cd74 commit 512382d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Docs/development/jasp-qml-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Table of Contents:
- [Layout.rowSpan](#layoutrowspan)
- [Layout.columnSpan](#layoutcolumnspan)
- [Connecting Multiple Components](#connecting-multiple-components)
- [Configurable Constants](#configurable-constants)
- [An Example](#an-example)
- [1. Specifying Imports](#1-specifying-imports)
- [2. Adding the Form](#2-adding-the-form)
Expand Down Expand Up @@ -897,7 +898,7 @@ Example:
id: cr
name: "cr"
indexDefaultValue: 0
startValue: "high"
startValue: "high"
values: [
{ label: qsTr("High"), value: "high"},
{ label: qsTr("Low"), value: "low"},
Expand All @@ -906,8 +907,8 @@ Example:
PercentField
{
name: "crCustom"
defaultValue: form.getConstant(ir.value, ir.value == "high" ? 100 : 50)
name: "crCustom"
defaultValue: form.getConstant(ir.value, ir.value == "high" ? 100 : 50)
}
```

Expand Down

0 comments on commit 512382d

Please sign in to comment.