mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 09:20:21 -05:00
patch: livewire url attributes
This commit is contained in:
@@ -28,34 +28,36 @@ class UserSearch extends Component
|
||||
use LivewireSort;
|
||||
use WithPagination;
|
||||
|
||||
#[Url]
|
||||
#TODO: Update URL attributes once Livewire 3 fixes upstream bug. See: https://github.com/livewire/livewire/discussions/7746
|
||||
|
||||
#[Url(history: true)]
|
||||
public bool $show = false;
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public int $perPage = 25;
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public string $username = '';
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public string $email = '';
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public string $rsskey = '';
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public string $apikey = '';
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public string $passkey = '';
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public ?int $groupId = null;
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public string $sortField = 'created_at';
|
||||
|
||||
#[Url]
|
||||
#[Url(history: true)]
|
||||
public string $sortDirection = 'desc';
|
||||
|
||||
final public function updatingShow(): void
|
||||
|
||||
Reference in New Issue
Block a user