Skip to content

'0' has no input count limit if using InputType.number #75

@Cerlancism

Description

@Cerlancism

I need an input validation for numbers only from 0 to 10

const field = this.add.inputField(0, 0, {
            type: PhaserInput.InputType.number,
            max: "10",
            min: "0",
        })

I observed that 0 can be repeated on the field. Is it possible to restrict to a single '0'? Or are there any on input event and is focused boolean so I can custom validate on the fly as walkaround by using directly from phaser input events?

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy