Skip to content

UnityEngine.UI.InputField.onEndEdit is too limiting #76

@ryandurkoske

Description

@ryandurkoske

"command" field for Inputs map to onEndEdit and it is our only option for any sort of command. This is very limiting and prevents the concept of a "Cancel" button whilst still allowing the enter key to function on the input.

Recreating something basic, like the "Rename Sleeping Bag" panel is fundamentally impossible. Could we add a new "unfocusCommand" field that when exists, overrides the current behavior of merging unfocus and onenter behaviors.

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