set Required to Text property