AddressPickerAutocompleteForFlow icon indicating copy to clipboard operation
AddressPickerAutocompleteForFlow copied to clipboard

Modular extension of capabilities

Open klauskopec opened this issue 2 years ago • 2 comments

I added

  1. Option to make the address detail + county fields required. They'll only be required if they are also shown to the user to avoid broken states where users cannot continue while not being able to see the field they would need to enter data into. This can be configured via a Flow attribute and defaults to "not required.

  2. Capability to add an address label, which is shown at the top of the addressInput component. Without a label (which is still the default), making the fields required (see #1) shows an empty line with a red asterisk, which is not great UX.

  3. Option to show R/W geolocation fields (can be configured via Flow attribute; default: not shown). This can be used to fine-adjust coordinates without changing the address in cases where the google maps API returned a correct address with a faulty geolocation.

  4. Added reloading of map with pin at new coordinates if geolocation fields are manually edited.

klauskopec avatar Mar 22 '22 08:03 klauskopec