Skip to content
New issue

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

Hangs on load screen after save #4

Open
WalidZein opened this issue Aug 1, 2024 · 0 comments
Open

Hangs on load screen after save #4

WalidZein opened this issue Aug 1, 2024 · 0 comments

Comments

@WalidZein
Copy link

WalidZein commented Aug 1, 2024

After I change the location and attempt to save payload hangs. It sometimes works and sometimes not
Screenshot 2024-07-31 at 9 50 05 PM

Here is my config:

googleMapAutoCompletePlaces({
      apiKey: key, //<google maps API Key Goes Here>
      name: "google_location",
      label: "Google Location",
      required: true,
      minLengthAutocomplete: 3,
      autocompletionRequest: {
        bounds: [
          { lat: 50, lng: 50 },
          { lat: 100, lng: 100 },
        ],
      }, //Note: for more information check google documentation(https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest).

      debounce: 400,
      admin: {
        description: "Please pick a location",
        disabled: false,
        hidden: false,
        readOnly: false,
        placeholder: "Please select a location",
      },
      access: {
        create: () => true,
        read: () => true,
        update: () => true,
      },
      latLng: {
        showFields: true,
        name: "latlng",
        label: "location coordinates",
        required: true,
        admin: {
          description: "Auto populated location coordinates",
          disabled: false,
          hidden: false,
        },
        access: {
          create: () => true,
          read: () => true,
          update: () => true,
        },
      },
    }),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant