why are you adding the required attribute here? That seems very wrong.