We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This in the readme triggered the error in the Algolia client trying to json_encode:
json_encode
# nova-amap Laravel Nova高德地图 #Installation ~~~php composer require invoice/nova-amap ~~~ ~~~php use Ofancn\Amap\Amap; public function fields(Request $request) { $location = $request->user()->location; return [ ID::make()->sortable(), BelongsTo::make(__('用户'), 'user', User::class)->searchable(), Text::make(__('名称'), 'name')->sortable()->rules('required', 'string', 'max:255'), Amap::make(__('位置'), 'amap')->initLocation($location->latitude ?? 22.56153, $location->longitude ?? 113.4911)->zoom(12)->rules('required', 'json'), ]; } ~~~ ~~~json {"lat": 22.097868, "lng": 113.536494, "address": "广东省珠海市香洲区横琴镇环岛东路85珠海长隆海洋王国"} ~~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This in the readme triggered the error in the Algolia client trying to
json_encode
:The text was updated successfully, but these errors were encountered: