Skip to main content

All Questions

Tagged with
0 votes
2 answers
83 views

How to get current Laravel Filament resource page type (operation) create/edit/view

I need to customize some Laravel Filament v3 Resource Form Fields/Elements by the current page type index/create/edit/view. For example, hide some action Fields on a view page. Resource PHP file (Bar) ...
Igor's user avatar
  • 1,011
0 votes
1 answer
50 views

Laravel 11 The form data is not getting passed to the email template

I am fairly new to using Laravel. But the question is here, I am having an issue where the data that is getting from the form after clicking submit, it is not getting passed to a blade template. For ...
Gregory Rothstein's user avatar
0 votes
0 answers
38 views

Laravel: in-place filtering of an model by dropdown selections

Idea Via multiple dropdown menus filter the model Requirements Page shall not be loaded Every dropdown selection, filters the model (send queries to DB), as well as adds an query parameter to the ...
Roman_Coding's user avatar
0 votes
0 answers
90 views

How to increment a livewire variable

I've made a dynamic multi-page form that works using "step". When I press the next button, I increment the step variable, which takes us to the next page like this: <button type="...
Grégory NACHER's user avatar
0 votes
1 answer
66 views

Get data from Quill Editor and insert it in MySQL database in Laravel 11?

I've used Quill Editor in my Laravel project. However, I am unable to retrieve the value from the editor. I tried adding a name attribute but this is not working. <div id="content" name=&...
Ajinkya More's user avatar
0 votes
1 answer
31 views

Keep selected option when validation errors occur

I have a form that deletes a selected option (Office field on the gif) when there is a validation error. The other fields that had data entered remains in the field. I would like the Office field to ...
missy miss's user avatar
0 votes
0 answers
58 views

Undefined variable $action. Can't pass route to a variable in a component, Laravel

I have a component with a form inside it. I assigned a variable to the action attribute: <form action="{{ $action }}" method="{{ $method }}". When I call the component using: &...
GoodGuy2213's user avatar
0 votes
1 answer
49 views

Save fields from form that dont belong to the Model

Im working with Laravel (11 with livewire). I have a SERVICE and i need to add some SERVICE_EXTEND fields (like wp_postmeta). SERVICE_EXTEND are generic fields with a meta_key and meta_value Model\...
GMazzacua's user avatar
  • 118
-1 votes
2 answers
94 views

Laravel 9 update Form that contain input file for CV

I have been trying to update a form that has a resume file input. I want users to only change the file if they are make mistake of uploading a wrong resume but the page refrresh and when i debug using ...
Abdellah Hajjam's user avatar
0 votes
0 answers
56 views

The GET method is not supported for route (to delete). Supported methods: DELETE. (I'm using Post & Delete)

I have implemented a modal to delete objects in my project, the problem is that when I click delete, it tells me that I am using a get method even though I use a post/delete method. <form id="...
Raúl García's user avatar
0 votes
0 answers
134 views

Required condition in form continues to validate even if it is false in filament laravel

I'm having a hard time. In my form, I ignore the validation of required fields when a toggle is equal to false. However, when saving the form, even without the *, validation continues to be carried ...
WebConvenio.online's user avatar
-1 votes
2 answers
129 views

Function from the controller never called in Laravel 11 [closed]

I have a form to edit my users, <form action="{{ route('user.update', ['id' => $user->id]) }}" method="post"> @csrf @method('PUT') --content-- &...
Marius Clément's user avatar
-1 votes
2 answers
40 views

Laravel form not sending IDs

ID input <input class="form-control" type="hidden" value="{{ Auth()->user()->id }}"> After dump "_token" => "...
Abim's user avatar
  • 17
0 votes
3 answers
128 views

Form validation by JavaScript in Laravel 10.x won't work

I made a custom validation in Laravel 10.x blade using JavaScript and Bootstrap 5 classes. When I press the submit button, the store action doesn't work, and the form is reloaded empty without putting ...
Andrew_1979's user avatar
1 vote
1 answer
57 views

Laravel validation: ignoring certain fields during update

How can I prevent Laravel from validating certain columns when editing an existing user? I'm trying to update a guest's information, but I want to ignore the phone and email fields if no changes have ...
Peter's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
111