FeatureFactory.AddNumberInputField()
rmasonjr opened this issue · 1 comments
rmasonjr commented
Environment
HomeSeer
OS
Windows and Linux
HS Version
4.2.18.10
Development
PSDK Version
1.4.3.1
Language
VB
IDE
VS2017
Dev OS
Windows,
Plugin
OMNI
Problem
FeatureFactory.AddNumberInputField()
Description
--Adding extra single quotes
--Hint text is not being created as a tooltip
Expected Behavior
Not adding extra single quotes
Using hint text as a tooltip
Steps to Reproduce
ff.AddNumberInputField(72.5, "hinttext", New ControlLocation(1, 1), EThermostatControlFeatureSubType.CoolingSetPoint,)
This builds an HTML containing:
<div id='controlsallch_556' class="col-md align-items-center"><div class='row no-gutters justify-content-center align-items-center'><form id='devicecontrol_556'>
<div class='md-form input-group'><input type='text' class='form-control' id='textvalue'' name='textvalue' value='73'>
<label for='value_556'></label>
<button id='but_556' ref='556' ccindex='0' action='control' type='button' class='mr-1 ml-1 btn btn-default flex-fill' >Submit</button></div>
</form></div></div>
</div>
right after the id='textvalue' - there are 2 trailing single-quotes - should be 1 single-quote
"hinttext" never made it over as a tooltip
? should the AddNumberInputField actually build an input type="text" ? That's a question, not necessarily an issue.
Screenshots
n/a
Logs
n/a