This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Make sure jquery.js, Select2.js and Select2.css files are included (in master.blade.php or another template file) --> | |
| <div> | |
| <div wire:ignore> | |
| <select class="select_country" wire:model="country"> | |
| <option value="" disabled>Please select the country</option> | |
| @isset($this->countries) | |
| @foreach(json_decode(json_encode($this->countries)) as $country) | |
| <option value="{{ $country->code }}">{{ $country->name }}</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Access/modify any instance private property. | |
| */ | |
| class Invade | |
| { | |
| public function __construct( | |
| protected $instance, | |
| protected $setter, |