Daniel
Header actions are not refreshing properly
I have 2 header actions which are toggling each other (lock and unlock) and when clicking "unlock" the "lock" button appears and it's clickable but the "spinner" doesn't appear. Only after refreshing the page the "spinner" also works. It seems like the "wire:target" on the spinner element doesn't work after showing the button.
2 replies
Broadcasting after export completed
Is there a way to broadcast the notification to the user when export is done?
Broadcasting is running already and want to have this in addition to the database notification but don't know where to implement it.
17 replies
Multiple panel logins
Is it possible to have multiple login pages and switch them base on some give conditions within the panel
login()
method?
I want to have a second login form, which provides a passwordless login mechanism but only when a request param is matching.
I already tried something like that:
But this seems not to work always.
Any ideas?2 replies
Avoid form submission on error
I managed having unique field values like described in this post:
https://discord.com/channels/883083792112300104/1134208647052935198/1134211305763516517
But the form is still submitted. Is there a way to avoid form submission when there was an error in one of the
Repeater
fields?5 replies
Page jumps after adding a `Repeater` item
As already mentioned here https://discord.com/channels/883083792112300104/883085278993068082/1068581791675453530 I also noticed a page jumps when adding a new item to a
Repeater
or when clicking checkboxes in a Repeater row.
I can't find out what's causing the jump. Did anyone else notice this?5 replies
Problem with CheckboxList and bulkToggleable
I do have a problem with a
CheckboxList
and bulkToggleable
in combination with reactive()
or lazy()
. When trying to bulk toggle the first checkbox always gets unchecked. Without reactive()
or lazy()
everything works fine.19 replies
Can't reorder table rows
When trying to reorder table rows in a
RelationManager
values in order_column
DB do change but the rows are always jumping back to their initial position. I've activated reordering on the table like that:
Here's a short screen capture:9 replies
Modal footer submit
I do have a modal in a
view.blade.php
file which contains a form and I want to have the submit button in the modal footer (and not within the modal content:
The submit button appears in the modal footer but I could not submit the form.
Any ideas how to get submit in modal footer working?4 replies
Hide label for action
I'm trying to hide the label of an action and I see that there's a
disableLabel
method but it doesn't hide the label.
When using ->label(false)
on the action the label gets hidden but there's an PHPStan warning:
What is the correct way to hide the label of an action?11 replies
Fill form data via emitted action
Is it possible to fill form data via an emitted action?
I do have an action:
which should do the following:
but it seems like the form always get submitted instead of filling in the data in the corresponding fields.
11 replies
Access to repeater item from inside
In a repeater I do have a button inside each item (which should open a modal containing a list of models) and I want the button to get the current index of each row. How can I access the item from the button (which is a Livewire component)?
I want to pass the current index (of each button) to the modal like this:
1 replies
Form state for fields with relationship
How can I get the submitted data for fields which have a
relationship
defined? When using $data = $this->form->getState();
in forms submit
I only get the data of fields without relationships. I need the whole form data (in a frontend form) to "park" it in session and use it again after user has either logged in or registered.45 replies