when i'm using ->native(false) then disabled is not working

Select::make('Pos_Devices') ->preload() ->options(function (Get $get) { return PosDevice::availablePosDevices() ->pluck('name', 'pos_devices.id')->toArray(); }) ->hidden(function (Get $get) { return auth()->user()->id != $get('user_id'); }) ->native(false) ->disabled(function () { return $this->assignedDevices ? true : false; }),
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server