verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 68 forks source link

Postal code field behaving as auto-complete field with Loqate address look-up integration #1891

Closed jonnykates closed 1 month ago

jonnykates commented 1 month ago

Describe the bug

When adding an 'address' field to a form with a Loqate provider connected, the 'Auto-Complete' sub-field is not behaving as the look-up input. Instead, it appears that the 'Postal Code' sub-field behaves as we would expect the auto-complete to.

Formie field config: Screenshot 2024-05-17 at 10 29 38

No auto-complete behaviour on front-end: Screenshot 2024-05-17 at 10 30 11

Postal-code field behaving as auto-complete: Screenshot 2024-05-17 at 10 31 23

Steps to reproduce

  1. Connect a Loqate address provider with a valid API key
  2. Create a Formie form and add an address field
  3. Configure the 'Auto-Complete' sub-field to use the Loqate provider
  4. Render the form somewhere on the front-end
  5. The auto-complete input does not suggest addresses
  6. The postal code input instead suggests (and populates relevant sub-fields when selected) addresses

Form settings

Craft CMS version

Craft Pro 5.1.3

Plugin version

3.0.0-beta.10

Multi-site?

No

Additional context

No response

engram-design commented 1 month ago

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.10".

engram-design commented 1 month ago

Fixed in 3.0.0-beta.11