etEmail.error = "Invalid email" is used to:
- Close the keyboard
- Send an email
- Show an error message and icon on the field
- Clear the field
Answer
C) Show an error message and icon on the field
setError marks the field as invalid.
Computer Science MCQ · More Lab: Registration Form UI MCQs · Practise