Skip to content

[BUG] Dash 4.0.0 number dcc.Input increment doesn't work when max or min = None #3689

Closed

Description

@aGitForEveryone

When setting the min or max option in a dcc.Input the increment button stops working. Clicking it erases the current value in the input box. Try with the simple app added below. The increment buttons don't work for the top input field, but they do work for the bottom input field.

I used Dash 4.0.0 for testing.

import dash
from dash import html, dcc

app = dash.Dash(__name__)


app.layout = html.Div(
    [
        html.H1("Hello Dash"),
        dcc.Input(min=0, max=None, type="number"),
        dcc.Input(min=0, type="number"),
    ],
    style={"width": "20%"},
)

app.run(debug=True)

Activity

  1. AnnMarieW commented on Mar 24, 2026

    @AnnMarieW
    Collaborator

    @aGitForEveryone Thanks for reporting!

  2. aGitForEveryone commented on Mar 26, 2026

    @aGitForEveryone
    ContributorAuthor

    Thanks for fixing the issue @AnnMarieW!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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