yemenpoint / filament-google-map-location-picker

filament-google-map-location-picker
MIT License
32 stars 7 forks source link

"[object Object]" is not valid JSON #2

Closed wdarins closed 2 years ago

wdarins commented 2 years ago

Hi, @yemenpoint I don't know why did you rolled back my PR but right now I have again the same problem:

image

Here is my model: image

Here is what this?.value is: image image

Maybe we should add a check if it's already an object then no need to JSON.parse?

yemenpoint commented 2 years ago

I will fix it sorry .😅😅

yemenpoint commented 2 years ago

Check the last commit

wdarins commented 2 years ago

Thanks, issue solved!