Skip to content

Add validations to AddTeam component's form #24

@leusgalvan

Description

@leusgalvan

A team currently consists of:

  • name: string
  • members: array of {userId: string, displayName: String}

The AddTeam component, reachable at /team/add, displays a form with a simple text field for the name and a list to select members (users) by clicking them.

There are currently no validations whatsoever for that form. Some could be:

  • Don't allow empty names
  • Don't allow names with more than, say, 64 characters.
  • Force to choose at least one member (user).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions