When I have an array type property, and inside it I have a list setting, then the list settings value is not displayed in the simulator.
Here's an example:
<properties>
<property id="arrayTest" type="array"></property>
<property id="control" type="number">0</property>
</properties>
<settings>
<setting propertyKey="@Properties.arrayTest" title="@Strings.settingsUsersTitle" maxLength="10">
<setting title="@Strings.settingsSetZoneTitle" type="number">
<settingConfig id="bug" type="list">
<listEntry value="0">@Strings.settingsSetNone</listEntry>
<listEntry value="1">@Strings.settingsUseUserZones</listEntry>
<listEntry value="2">@Strings.settingsSetMaxHr</listEntry>
<listEntry value="3">@Strings.settingsSetManualZones</listEntry>
</settingConfig>
</setting>
<defaults>
<entry>
<default id="bug">0</default>
</entry>
</defaults>
</setting>
<!-- "control group" -->
<setting propertyKey="@Properties.control" title="@Strings.control">
<settingConfig type="list">
<listEntry value="0">@Strings.settingsSetNone</listEntry>
<listEntry value="1">@Strings.settingsUseUserZones</listEntry>
<listEntry value="2">@Strings.settingsSetMaxHr</listEntry>
<listEntry value="3">@Strings.settingsSetManualZones</listEntry>
</settingConfig>
</setting>
</settings>
The control group is to show that the same thing does work when the list is in itself as a 1st level setting, it only doesn't work when it's inside an array type setting.
Related to https://forums.garmin.com/developer/connect-iq/i/bug-reports/confusion-and-bugs-in-array-settings , but because there's already a Garmin ticket for that I open this as a separate bug so it's not getting lost.
-
flocsy🤠
-
Cancel
-
Vote Up
0
Vote Down
-
-
More
-
Cancel
Comment-
flocsy🤠
-
Cancel
-
Vote Up
0
Vote Down
-
-
More
-
Cancel
Children