Antoine
Modal Bug on Livewire Component Form
Hello everyone,
I have a FullCalendar Widget that I use on my dashboard that works great. I use this same Widget in a tab of my user edit form as follows:
I'm having a focus issue in all modals inside this widget only on my form (see attached video).
No issues on the dashboard.
My problem doesn't seem to come from the plugin but rather from my livewire component in my form right?
I imagine there is a conflict somewhere. Does anyone know where I should look to resolve this issue?
3 replies
ColumnSpan : Array to string conversion
Hello everyone,
Is it only me who has this problem when I try to make my columns dynamic on any of my fields, I get the following error if I try to return an array from a closure:
Array to string conversion
Here is my code:
Whereas if I pass it an array directly without closure, I have no error. Is this a bug? Or am I the only one getting this problem?
7 replies
Is it possible to add a mask to an email?
Is it possible to add a mask to an email?
I need to force the user's hand to not be able to write values not present in an email address like '&' or 'é'...
I have a regex that works very well:
Is it possible to have a mask with RawJs in the same way? Like this :
In v2, we had the opportunity :
Thanks
5 replies
Access any field from form with anonymous action
Hello everybody,
I have an anonymous function right in the middle of a form,
I want to access my "quantity" field from the action() method of my anonymous function.
How to do ? I didn't find much choice in the documentation or on the internet...
Thank's
7 replies
createOptionUsing() doesn't select new value
Hello everyone,
I'm pretty confused because I don't understand where is my error. I have this Select in a Form :
When I submit my modal, I return the id of my model that I have just created. I debugged
$filter->id
with dd()
before returning it and it exists as well as my row in the database. But it returns null in my component after submit.
However, if I return a value manually from an already existing line like: return 1;
It selects it well.
I tried on another form and I still have the same problem when I create a model row.
Did I do something wrong? Or is it another problem? I think I am returning the model before it is created in the Select options, is there a method for resolve this?4 replies
How to add requiresConfirmation() into modalSubmitAction() in Action
Hello,
I have an action in my ListRecords page who open a modal and I need to have a modal of confirmation when the user click on the Button Submit.
It doesn't work because it's a StaticAction in modalSubmitAction().
How can I do that?
Thanks
9 replies
Doesn't change on livewire property in getHeaderWidget()
Hello everybody,
I have a Livewire property that changes its state based on user interaction on a button in a ListRecords page.
When the state of $activeWidget changes thanks to user interaction, the widgets disappear but conversely when they need to be displayed nothing happens. When I refresh the page, the widgets display fine.
I think there is a problem with updating. If I refresh my component with a method like this
$this->dispatch('refresh')
only the values of my table are refreshed and not my widgets.
Has someone already had this problem?2 replies