Added the isRequired attribute and the associated text.