testtesttesttesttesttesttesttest
Building a custom form field to manage a collection of coordinates using Leaflet
Hey,
Thanks for building Filament this is awesome work.
I'm currently working on a custom form field to manage a collection of coordinates using leaflet.
The idea is that the user should be able to click on the map to add coordinates to the collection and click on a coordinate to delete it.
The data is stored in a single JSON field in DB.
I already created a view component :
But I'm now stuck at writing the actual content of filament.forms.components.race-map, should I write a specific Alpine directive to manage the whole thing ?
Any directions ?
Thanks in advance !
2 replies
Building a custom form field to manage a collection of coordinates using Leaflet
Hey,
Thanks for building Filament this is awesome work.
I'm currently working on a custom form field to manage a collection of coordinates using leaflet.
The idea is that the user should be able to click on the map to add coordinates to the collection and click on a coordinate to delete it.
The data is stored in a single JSON field in DB.
I already created a view component :
But I'm now stuck at writing the actual content of
filament.forms.components.race-map
, should I write a specific Alpine directive to manage the whole thing ?
Thanks in advance !1 replies