8000 Changing Unit of Time Picker Does Not Send Change Event · Issue #1566 · cogentcore/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Changing Unit of Time Picker Does Not Send Change Event #1566
Open
@MongooseStudios

Description

@MongooseStudios

Describe the bug

Changing the unit chooser of a time picker will update the spinner's representation of the duration, however it does not trigger the change event.

Also the Duration.String() output is not correct when you change the units chooser.

How to reproduce

This can be observed in the example from the docs https://www.cogentcore.org/core/time-picker#duration-input

Change the units value via the chooser, no snackbar.
Change the spinner value, snackbar appears, note that the units output in the snackbar are incorrect.

Example code

Relevant output

Platform

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0