Add Save Button in List View (to update the text field value in DB) #308
Replies: 4 comments
-
Hello @sandeepchowdary7 What result is empty ? Controller is not called ? Where is the field in list ? Pedro |
Beta Was this translation helpful? Give feedback.
-
@sandeepchowdary7 this doesn't look like a bug to me, more of an implementation issue, so I'll move it to discussions. That being said, there aren't that many people in Discussions so I'd recommend asking this kind of questions on StackOverflow - much more people there. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Oups! Looks like this is a support request, not a bug/feature. Could you please repost on StackOverflow, using the Background: Here at Backpack we use Github Issues only for tracking bugs and features, not individual implementation issues. This helps a lot in keeping our focus on improving Backpack. Thanks a lot for understanding! Here are all the Backpack communication mediums:
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or StackOverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch. Thank you! -- PS. In case I mistakenly closed your issue, yell :-) I'm a robot, I make mistakes. |
Beta Was this translation helpful? Give feedback.
-
Hi. Due to not activity on many years i will close this discussion, if there is needed feel free to reopen or create a new one. Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I was trying to add the Save button in ListView. So that I can enter the value in the text field and click on Save Button and save it in DB. this is what I'm trying to achieve but it is not working as expected.
Controller
$this->crud->addButtonFromModelFunction('line', 'Save', 'showSaveButton', 'beginning');
Model
`public function showSaveButton()
{
Route
Route::post('/student/{id}', 'StudentCrudController@update');
Controller-Update Method
`public function update()
{
but getting the result is empty. how I can achieve this. any help or suggestions would be great. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions