Skip to content

Add a SpinBox property to disable non-numeric input #12519

Open
@gdevgodot

Description

@gdevgodot

Describe the project you are working on

An in-editor game framework.

Describe the problem or limitation you are having in your project

I've noticed that when you use SpinBox node it allows you to use non-number characters and I think it only should accept number inputs.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Only allow numbers inputs.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

When you open a SpinBox and type whatever only numbers are accepted as Input.

If this enhancement will not be used often, can it be worked around with a few lines of script?

I'm not sure if that's a great enhancement, but it could make avoid some confussions while working with SpinBox node.

Is there a reason why this should be core and not an add-on in the asset library?

This make SpinBox usability quite better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions