Skip to content

Slider.js:423 Uncaught TypeError: Cannot read property 'toFixed' of undefined(…) #162

Description

@ql

Hello!
I'm trying to set up logarithmic scale slider (as described in #150) with value and marks:

<Slider defaultValue={ 100 } marks={{10:'10', 100:'100', 1000:'1000', 10000:'10k', 100000:'100k'}} value={[10, 100, 1000, 10000, 100000]} onChange={this.onSpendingChange} />

How I could use value parameter without getting error with toFixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions