Postcode Lookup Component

The Postcode Lookup component allows the user to find their address details and it will then save it to the booking model.

<postcode-lookup></postcode-lookup>

Configuration options

The following configuration options are currently available for the Postcode Lookup Component:

template
This is which version of the widget is used. Default value is set to 1.

loading-panel
This is a boolean value that will detemine whether or not a loading panel will show over the component while its initialising and doing initial API calls. The default value is false.

min-height
Min-height is the minimum height of the component in px. Important to set a value here if you want the loading panels to look good. Default value is 0.

button-text
This allows you to change the default text on the search button.

Example code

<postcode-lookup loading-panel="true" template="1"></postcode-lookup>

Updated on February 13, 2018

Was this article helpful?

Related Articles