This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 106
Manually adding player does not show list of teams #81
Labels
Comments
This getCurrTeams selector reduces the teams returned to the component to only those that are a part of an active season: league-for-good/client/src/components/dashboard/players/forms/playerFormData.selector.js Lines 17 to 38 in 6127344
If you create a season, then add your team to it, the team dropdown includes the team as expected. If we agree that this is reasonable behavior, maybe the best thing to do would be to add an error to the form if the teams prop is null explaining that you have to have a team and that team has to be in an active season. |
I agree with Ben and his solution. The team must be active and also part of a season to get it to show up in the drop down list. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Players tab > Manually adding a new player
The team dropdown is supposed to have a list of all the teams, but nothing is displayed.
The text was updated successfully, but these errors were encountered: