Invalidates the specified FormElement. The error text will be set to the one of two possible preconfigured custom error messages associated with the form definition. The "value-error" message will be used for FormField instances and "form-error" will be used for FormGroup instances.
© Copyright 2000-2020, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.