You can find the court’s rather cursory discussion of the issues in this opinion (via BAN). I expect this will now go on appeal to the Ninth Circuit, which could well reverse, and to the Supreme Court, which I expect would be likely to agree with the district court. (This measure is clearly aimed at Trump, though it applies to all candidates.)