File tree Expand file tree Collapse file tree
wcfsetup/install/files/lib/system/form/builder/field Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ final class GoogleMapsFormField extends AbstractFormField implements
2020 IImmutableFormField,
2121 IPlaceholderFormField
2222{
23- use TAttributeFormField;
23+ use TInputAttributeFormField {
24+ getReservedFieldAttributes as private getDefaultReservedFieldAttributes;
25+ }
2426 use TAutoFocusFormField;
2527 use TCssClassFormField;
2628 use TImmutableFormField;
@@ -44,6 +46,21 @@ public function __construct()
4446 $ this ->addFieldClass ('long ' );
4547 }
4648
49+ /**
50+ * @return string[]
51+ */
52+ protected static function getReservedFieldAttributes (): array
53+ {
54+ return \array_merge (
55+ static ::getDefaultReservedFieldAttributes (),
56+ [
57+ 'data-google-maps-geocoding-store ' ,
58+ 'data-google-maps-geocoding ' ,
59+ 'data-google-maps-marker ' ,
60+ ]
61+ );
62+ }
63+
4764 #[\Override]
4865 public function readValue ()
4966 {
You can’t perform that action at this time.
0 commit comments