Example: If you have three teams A, B and C for a user. Then set the default team to B and save it, all good. If you delete team B from the teams list, it still leaves it as the default team. Only if you change the default to say team A and then try changing back to B then it wont let you.
Therefore I believe the correct operation would be to make the defualt team 'None' if it is removed from the list of available teams OR inform the user that the default team must be removed before it can be removed from the list of teams.
Therefore I believe the correct operation would be to make the defualt team 'None' if it is removed from the list of available teams OR inform the user that the default team must be removed before it can be removed from the list of teams.
Comment