errors parameter of the input accepts list of error
messages. When there are errors, the input will be styled with error styles
and error messages will be shown below the input.
There is a separate component field_errors that renders list
of errors, but it may require placing input and errors in the same wrapper
element to work properly, so using the errors parameter
of the input is usually easier.