You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In config-schema.json I have an single select dropdown optionType that is neither required, nor has a default. I then have a second single select dropdown optionOneState which should only display when Option 1 is selected.
When the form is initially displayed, the field optionType shows None as the initial selection and the field optionOneState is also displayed with None as the initial selection. Field optionOneState should be hidden.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe The Bug
In
config-schema.json
I have an single select dropdownoptionType
that is neither required, nor has a default. I then have a second single select dropdownoptionOneState
which should only display whenOption 1
is selected.When the form is initially displayed, the field
optionType
showsNone
as the initial selection and the fieldoptionOneState
is also displayed withNone
as the initial selection. FieldoptionOneState
should be hidden.If an option is selected in
optionType
, thenoptionOneState
is shown/hidden as expected:Option 1
is selected inoptionType
, fieldoptionOneState
is correctly shownOption 2
is selected inoptionType
, fieldoptionOneState
is correctly hiddenOption 3
is selected inoptionType
, fieldoptionOneState
is correctly hiddenIf no option is selected in
optionType
(showsNone
as selection in dropdown), thenoptionOneState
is incorrectly shownI unsuccessfully tried the following for
functionBody
to hideoptionOneState
whenoptionType
isNone
. In all cases,optionOneState
is displayed:Logs
No response
Config
No response
Homebridge UI Version
4.62.1-beta.20
Homebridge Version
1.8.5
Node.js Version
22.9.0
Operating System
macOS
Environment Info
Using hb-service
Raspberry Pi Model
None
The text was updated successfully, but these errors were encountered: