From 2135329f4f85a92a1516da70c45024bf4e90c7d7 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Wed, 12 Jan 2022 16:40:41 +0200 Subject: [PATCH] IMPR: Allow extending MapPin fields --- src/Models/MapPin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Models/MapPin.php b/src/Models/MapPin.php index c1ca9aa..155ad5c 100755 --- a/src/Models/MapPin.php +++ b/src/Models/MapPin.php @@ -84,6 +84,8 @@ class MapPin extends DataObject MapboxField::create('Map', 'Choose a location', 'Lat', 'Lng'), ]); + $this->extend('updateMapPinFields', $fields); + return $fields; }