But is upheld by the 12th Amendment.
Not particularly. The 12th Amendment says nothing about how the electors from a given state are to be distributed. If states want to do it some other way, do it. It’s just become convention that we do winner-take-all. And it’s easier for the idiot media.