If it’s an open primary, then don’t list party affiliation.
It is listed on the ballot, just as “Party Preference”. Cindy Sheehan is running for governor with a party preference of “Peace and Freedom”.