Search address
A search bar to find an address using the location API.
How to use this component
Used whenever we need to be able to gather a UPRN.
Should always default to the users saved address from their personal details.
Code Resource
Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/site/wwwroot/wp-content/themes/huntsman-child/single-mobile.php on line 96
<inputs:SearchAddress Margin="{StaticResource FormMargins}"
AddressLine="{Binding PersonalDetails.AddressLine}"
RemoveAddressCommand="{Binding RemoveAddressCommand}"
SearchCommand="{Binding AddressSearchCommand}" />
- AddressLine
- Used to set the AddressLine. If the address line is added then the search bar will disappear and the address will be displayed
- Default is String.Empty
- SearchCommand
- Invoked if the user clicks the search button in the control/ or on the keyboard
- RemoveAddressCommand
- Invoked when the user clicks the clear address button
- SearchClicked
- Invoked if the user clicks the search button in the control/ or on the keyboard
- RemoveAddressClicked
- Invoked when the user clicks the clear address button