Skip to content

Maybe change TextInputValidationFunc signature? #196

Open
@quasilyte

Description

@quasilyte

Right now we have this signature for TextInputValidationFunc:

func(newInputText string) (bool, *string)

Is there a reason to avoid a more idiomatic form like the following?

func(newInputText string) (string, bool)

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