Announcement

Collapse
No announcement yet.

why wont this select element render/display on my html page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    why wont this select element render/display on my html page

    the drop down list will not display; the html code is generated correctly, and i can see the label text. what am i missing?

    Code:
    {{list=plugin_function 'Insteon' 'devicelocationlist' ['False']}}
    
    <form id="test">
    
    <label for="devicelocationfilter">Select Location:</label>
    
    <select name="devicelocationfilter" id="devicelocationfilter">
    {{for item in list}}
    <option value="{{item.value}}">{{item.name}}</option>
    {{end}}
    </select>
    
    </form>
    Mark

    HS3 Pro 4.2.19.5
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

    #2
    i found the issue but dont understand why

    the following class is being added to the control automatically
    display: none !important;
    how do i override this?
    Mark

    HS3 Pro 4.2.19.5
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

    Comment


      #3
      I suggest open an issue https://github.com/HomeSeer/Plugin-SDK/issues - more chance to get reply

      Comment

      Working...
      X