get Highest Form Feedback Connotation
Type: Function
How to get getHighestFormFeedbackConnotation?
JavaScript
import { getHighestFormFeedbackConnotation } from 'fds/system';
Gets the most severe connotation from the passed formFeedbackByName. Is generally used in combination with Form, to show a custom aggregated validation message in the highest connotation color.
Arguments
form
Feedback By Name (Required)
Type: Object<FDS~Name, FDS~FormFeedback>
Form feedback keyed by name (corresponds with the "name" prop on form components).
Returns
Type: String
Specifies the meaning and/or severity of the given feedback. The possible values are: (from least to most severe)
-
'success'
-
'info'
-
'warning'
-
'error'