Skip to content

Instantly share code, notes, and snippets.

@mansha99
Created May 1, 2023 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mansha99/defa0a8bd7d260f574003e867710fde4 to your computer and use it in GitHub Desktop.
Save mansha99/defa0a8bd7d260f574003e867710fde4 to your computer and use it in GitHub Desktop.
resources/views/livewire/inventors.blade.php
<div>
<select wire:model="invention">
@foreach ($list as $k => $v)
<option value="{{ $k }}">{{ $k }}</option>
@endforeach
</select> invented by
{{ $inventor }}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment