min value does not seem to have effect on a setting in an app

In a watch app I have the following setting defined

<properties>
<property id="lapSize" type="number">1000</property>
</properties>
<settings>
<setting propertyKey="@Properties.lapSize" title="@Strings.lapSizeTitle">
<settingConfig type="numeric" min="50" max="10000" />
</setting>
</settings>


however I can still provide numbers below 50 in the setting... (providing an errorMessage to the config doesn't seem to have effect either...)
  • Where are you seeing this? GE, GCM, etc?
    I just went back and tried something where I have a min and max of 0 and 60. In the app settings editor, if I enter 99, it gets cut to 9 and I can only scroll from 0 to 60. On GCM/Andriod, when I enter a number out of range, I get an error message showing an error and the allowed range. And in GE (windows) I get a range error too.

    here's the definition I use for that setting:
    <setting propertyKey="@Properties.switchsec" title="@Strings.switch_title">
    <settingConfig min="0" max="60" type="numeric"/>
    </setting>


    I changed the min to 10 and all is still working fine.(only tried in the app settings editor as I didn't want to upload this version to the store)
  • hmm it's working now, probably changed the wrong property file this morning :confused:
    thanks Jim