HomeSeer / Plugin-SDK

Plugin development kit for the 4th major edition of the HomeSeer platform.
https://www.nuget.org/packages/HomeSeer-PluginSDK/
GNU Affero General Public License v3.0
21 stars 4 forks source link

FeatureFactory AddTextDropDown does not produce a bootstrap dropdown #261

Open rmasonjr opened 2 years ago

rmasonjr commented 2 years ago

Environment and System Config

Describe the issue When building an AddTextDropDown, the resulting control is not bootstrap formatted (see attached image) sdAlarmCommands.Add("Disarm", enuAreaMode.Disarm) sdAlarmCommands.Add("Arm Day", enuAreaMode.Arm_Day) sdAlarmCommands.Add("Arm Night", enuAreaMode.Arm_Night) sdAlarmCommands.Add("Arm Away", enuAreaMode.Arm_Away) sdAlarmCommands.Add("Arm Vacation", enuAreaMode.Arm_Vacation) sdAlarmCommands.Add("Arm Day Instant", enuAreaMode.Arm_Day_Instant) sdAlarmCommands.Add("Arm Night Delayed", enuAreaMode.Arm_Night_Delayed) ff.AddTextDropDown(sdAlarmCommands)

Steps to Reproduce See code above

Expected behavior A bootstrap-formatted control


Screenshots If applicable, add screenshots to help explain your problem.

Logs If applicable, include log output from the plugin console and/or the HomeSeer logs.

Additional info Add any other information about the problem here. screenshot1

spudwebb commented 2 years ago

Looks like to me that it is the "default select" from the Material Design bootstrap library: https://mdbootstrap.com/docs/b4/jquery/forms/select/

How would you like it to be displayed?

rmasonjr commented 2 years ago

I was thinking it needs to look like a dropdown from the Devices screen:

image