fix default `required` style