Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when you add another Maps address in the same resource one of them doesn't work #2

Open
alikasmou-elbruz opened this issue Sep 17, 2021 · 0 comments

Comments

@alikasmou-elbruz
Copy link

` public function fields(Request $request)
{
return [
ID::make(('ID'), 'id')->sortable(),
Liveupdate::make('car_model'),
// first address
MapsAddress::make(
('start_location'),'start_location')
->center(['lat' => 41.0077509, 'lng' => 28.8924741])
->onlyOnForms(),
// second address
MapsAddress::make(__('end_location'),'end_location')
->center(['lat' => 41.0077509, 'lng' => 28.8924741])
->onlyOnForms(),
belongsTo::make('User','user')
];
}
Screen Shot 2021-09-17 at 10 58 17
Screen Shot 2021-09-17 at 11 00 32

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant