(This glitch also applies to 1.13, 1.14, 1.15, 1.16, but it only let me choose 1.16.1)
You cannot set a teams prefix/suffix to a scoreboard objective or a selector
For example, running /team modify test suffix {"selector":"@p","color":"gold"}
Would set test's suffix to "@p" instead of the nearest entity
Another example, running /team modify test suffix
["",{"text":"$","color":"yellow"},{"score":{"name":"@p","objective":"money"},"color":"yellow"}]
Would set test's suffix to just "$", instead of "$(money)"
Environment
Windows 10 Home 64 bit, Java version 8 update 251 (build 1.8.9_251-b08)
Duplicate of MC-130968