I have heard these are very toxic to dogs and can be fatal if eaten.
Primrose Plants and Pets
Certified GKH Gardening Expert
Primrose is listed as a toxic plant for dogs by the ASPCA:
Other sources say that the toxicity is usually mild. However, each animal reacts differently, so it's best to be careful.