Required validation is now working