updated isRequired validator doc