Skip to content

Slider assigns wrong values if given a range of Unitful values? #74

@schneiderfelipe

Description

@schneiderfelipe

Hi, I think I found a bug regarding the use of PlutoUI.jl together with Unitful.jl. Basically, Slider changes some values unexpectedly when given Unitful ranges.

A working example would be:

begin
    using Unitful
    @bind T Slider((1000:6000)u"K", show_value=true)
end

Captura de tela de 2021-02-09 17-06-05

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs Pluto.jl featureCan't be done right now because something is missing from Pluto.jl itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions