Skip to content

Auto-fill faction field on match results if player faction is known #287

@ianpaschal

Description

@ianpaschal

User Story

As a player, I want the faction field to auto-fill when recording match results if my faction is known, so I don't have to manually enter information that's already in the system.

Functional Requirements

  • Auto-fill faction field from player's tournamentRegistration.factions
  • Disable input if factions.length === 1
  • Leave input enabled if factions.length > 1
  • Apply to both players in the match

Implementation Details

Read factions array from each player's tournamentRegistration. If single faction, auto-select and disable the input. If multiple factions, pre-select first option but allow TO to change. If no factions, leave empty with input enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement to an existing feature or functionality.

    Projects

    Status

    In Review

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions