Skip to content
Brok UI

Loading…

No results

Lint UI-209

require-stable-wire-key

wire:key must be a stable identifier, not a loop index.

UI-209 default: error livewire UNSTABLE_WIRE_KEY

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-stable-wire-key": ["error", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain require-stable-wire-key

Suppress one line

blade
{{-- ui-lint-disable-next-line require-stable-wire-key: reason --}}