Hi,
I have the following parameter
this is created with the code below. Since the Parameter is currently on "HTTP" I would expect the checkbox to be checked in this use case, would I be missing something in my code? or would this be a feature that hasn't been considered yet?
Thanks in advance,
<Param id="2" trending="false" save="true">
<Name>remoteAccessToken</Name>
<Description>Remote Access Token</Description>
<Type>read</Type>
<Information>
<Subtext>This is the remote access token used for a secure https connection.</Subtext>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
<DefaultValue>-1</DefaultValue>
<Exceptions>
<Exception id="1" value="-1">
<Display state="disabled">HTTP</Display>
<Value>-1</Value>
</Exception>
</Exceptions>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>HTTP</Page>
<Column>0</Column>
<Row>10</Row>
</Position>
</Positions>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="3">
<Name>remoteAccessToken</Name>
<Description>Remote Access Token</Description>
<Type>write</Type>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
<Exceptions>
<Exception id="1" value="-1">
<Display state="disabled">HTTP</Display>
<Value>-1</Value>
</Exception>
</Exceptions>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>HTTP</Page>
<Column>0</Column>
<Row>10</Row>
</Position>
</Positions>
</Display>
<Measurement>
<Type>string</Type>
<Discreets>
<Discreet>
<Display state="disabled">HTTP</Display>
<Value>-1</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
Hi Timothy,
This is normal behavior. The check box is there for in case you want to change the value. In your case you have the option to select the predefined value by checking the checkbox or fill in any value.
Just FYI: as far as I know is the togglebutton the only exception on this rule, since based on the value of the read parameter the other option will get set.
Indeed, the checkbox is part of the “write” component.
This is exactly the same as the textbox being empty even when the parameter is currently filled in with a normal value.