Validation Monitor

Display a compact form validation summary with the Validation Monitor component. Set the error-count property to -1 to display the initial state. The value 0 sets the state to valid while 1 and above displays an error count. Provide custom label text via the three properties label-initial, label-invalid and label-valid.

'labelInitial' => 'Formular ausfüllen',
'labelInvalid' => 'Fehler',
'labelValid' => 'Keine Fehler',
'errorCount' => -1, // -1 | 0 | 1 | 2 | ...
Bitte füllen sie alle Felder aus Keine Fehler gefunden 3 Fehler gefunden
<x-validationMonitor error-count="-1" label-initial="Bitte füllen sie alle Felder aus" />
<x-validationMonitor error-count="0" label-valid="Keine Fehler gefunden" />
<x-validationMonitor error-count="3" label-invalid="Fehler gefunden" />