Won't this break the case where the value attribute isn't specified and it's supposed to use the option text as a fallback? Do we have a unit test for that?