Location input

Autocompleting location input that sets latitude and longitude on its control

Contents

Without icon (default)

Type into the input, then click away without selecting a location from the dropdown to see the error.

With icon

Same as above, but with a warning icon shown alongside the error.

Inputs in Show error icon
showErrorIcon ?: boolean = false

Whether to show the warning icon alongside validation errors

Also set in this example
control : FormControl<LocationInputCustomCoordinate | LocationInputCustomAddress | LocationInputMapLocation>
label ?: string
Outputs
clearLocation ?: any = new EventEmitter()