laravel-admin
laravel-admin copied to clipboard
How to use selectable in table form
- Laravel Version: 8
- PHP Version: 8
- Laravel-admin: 1.8
Description:
I have a table form, like this:
$form->table('membersEditor', function ($table) {
$table->text('name');
$table->display('phone');
$table->display('type');
});
The 'new' button is only add a new blank row. I would be happy if I can add new row from selectable class.
Another option is to edit selectable rows.
Look at this selectable, I cant edit the field memberType
:
public function make()
{
$this->column('name');
$this->column('phone');
$this->column('memberType')->editable();
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Read the docs again, carefully. Use of Relationship is described here: https://laravel-admin.org/docs/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.