Address Auto-Complete¶
To implement an address auto-completion field on your form, all you need is a ctx-form-field entry with....
- FORM_FIELD_ID =
line1 line1,line2,line3, andline4are all supported as well.- FIELD_TYPE =
ADDRESSAUTOCOMPLETE - A field type of
ADDRESSAUTOCOMPLETEwill generate a normal alphanumeric form field and set the form fields'InputTypetoFieldInputType.AddressAutoCompletein theFormBuilder, and the dynamic form on the angular end will handle everything else. - Enable config for address auto-completion providers at
openpos.clientConfiguration.defaultConfigs.AutoCompleteAddress.enabled - Specify a provider (currently only
googleandexperianare supported). - Config for either of these providers is located at the following locations
openpos.clientConfiguration.defaultConfigs.ExperianConfigopenpos.clientConfiguration.defaultConfigs.GoogleConfig