Skip to content

Switch item cannot be toggled in sitemap #3870

Open
@dilyanpalauzov

Description

@dilyanpalauzov

For an item of type Switch in the sitemap I define

Switch item=r9 visibility=[r9_manual==ON] staticIcon="poweroutlet"
Text item=r9 visibility=[r9_manual==OFF] valuecolor=[ON="green", OFF="red"] staticIcon="poweroutlet"
Switch item=r9_manual mappings=[ON="Manual", OFF="Automatic"] labelcolor=[OFF="green", ON="red"] visibility=[!=NULL]

When I toggle over BasicUI the value of r9_manual, the interface is updated in both BasicOH and OH-Android (the first switch item is hidden, the text item is shown, or vice versa). So r9_manual is not NULL. But in Android-OH 3.17.4-beta neither the "Manual" nor the "Automatic" values is selected, the values are shown, but cannot be pressed. The labelcolor is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions