Start out by filling out or selecting a location from the Input.
Going back to the input and changing the value to an unfinished or invalid location, or clearing the input completely doesn't update the vm data and it remains the last selected location.
Is there anyway to clear or trigger a clear on this plugin? Anyway to validate the current value to make sure it has a lat and long with the currently entered value.
We're submitting the lat and long to an API, but if they clear their selection or submit an invalid location it's simply passing the last place that was selected instead of whatever is currently entered. Since you don't actually select a new location it doesn't update the Place at all.
Start out by filling out or selecting a location from the Input.
Going back to the input and changing the value to an unfinished or invalid location, or clearing the input completely doesn't update the vm data and it remains the last selected location.
Is there anyway to clear or trigger a clear on this plugin? Anyway to validate the current value to make sure it has a
lat
andlong
with the currently entered value.We're submitting the
lat
andlong
to an API, but if they clear their selection or submit an invalid location it's simply passing the last place that was selected instead of whatever is currently entered. Since you don't actually select a new location it doesn't update the Place at all.