Skip to content

Refactor team selection logic in meta box - #487

Open
kadimi wants to merge 1 commit into
masterfrom
kadimi-patch-2
Open

Refactor team selection logic in meta box#487
kadimi wants to merge 1 commit into
masterfrom
kadimi-patch-2

Conversation

@kadimi

@kadimi kadimi commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Fix player team dropdown selection in player list editor

  • Show no options for players without a team
  • Reset stale saved team selections
  • Default to the player's current team when valid

Fix player team dropdown selection in player list editor

- Show no options for players without a team
- Reset stale saved team selections
- Default to the player's current team when valid
@kadimi
kadimi requested review from brianmiyaji and savvasha July 27, 2026 14:23
@savvasha

savvasha commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

@kadimi what if a user try to edit an "old" player list, for example top scorers of Premier League 2019. Will the team assigned to each player going to be reset to current one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants