Skip to content
Brok UI

Loading…

No results

Lint UI-102

no-raw-controls

Use the design-system control instead of a raw <input>, <select>, or <textarea>.

UI-102 default: warning adoption RAW_CONTROL RAW_FORM_CONTROL

Configure

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

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

Suppress one line

blade
{{-- ui-lint-disable-next-line no-raw-controls: reason --}}