Skip to content
Brok UI

Loading…

No results

Lint UI-216

require-server-validation

Forms need server-side validation wiring.

UI-216 default: warning livewire MISSING_SERVER_VALIDATION

Configure

In the lint.rules block of ui.json. It accepts message, exclude; see the policy for what the entries match.

ui.json JSON
"require-server-validation": ["warning", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain require-server-validation

Suppress one line

blade
{{-- ui-lint-disable-next-line require-server-validation: reason --}}