localgovdrupal / localgov_events

Events for LocalGov Drupal.
GNU General Public License v2.0
1 stars 1 forks source link

Select location = not working #149

Closed JonathanDHolden closed 4 months ago

JonathanDHolden commented 4 months ago

On the Select Location modal, there are some strange things when we "Create new address"

  1. There's what appears to be a Form label "Address*" which has no Input.

Screenshot 2024-07-17 07 38 45

  1. There's supposed to be a "Populate from address field' button" but it doesn't exist.

Screenshot 2024-07-17 07 38 30

  1. When scrolling through the modal (why do we need a modal, why not build into the page? ) you end up with mouse over the map, and zooming the map, and you may not realise there are other sections below the map.
  2. The location map doesn't show anything other than sea
  3. The label "Accessibility" could better say "Access information for this location" (front loaded "access", not confused with WCAG). There should be some padding above the label too.
  4. The submit button says "Save address" but it should say "Create Address"
andybroomfield commented 4 months ago

Do you have a geocoder installed? Some of these issues might be solvable under structure -> geo types -> address -> manage form display. I think some are upstream bugs, the Populate from address field is not even present as a hidden field.

andybroomfield commented 4 months ago

@JonathanDHolden Under structure -> content types -> event -> manage form display you could try changing the widget used from an entitiy browser to an inline entity form. Though I seem to rember there are sme bugs here.

Screenshot 2024-07-17 at 5 26 53 PM
JonathanDHolden commented 4 months ago

Solution: Under structure -> content types -> event -> manage form display Set Address Field to OpenStreetMap (Nominatum) image