Home > mui-country-code-selector > CCSelectorCompositeProps > errorMessageDisplay
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Determines how the error message is displayed. When set to both
, error is displayed both as an error status of the component and by displaying an error message. When set to none
neither is displayed. Prop can also be set as message
or status
in which case the corresponding method is used to indicate the error.
Signature:
errorMessageDisplay?: 'none' | 'message' | 'status' | 'both';