Open ShadeWyrm opened 3 weeks ago
The embedded component on their site removes the "- X Addresses", and leaves the cursor in the start of the combobox with a " "
So "King St W, Toronto, ON - 15489 Addresses
Ideally, the person filling out a form would be prompted to select a specific/unique address and not a group of addresses. Is this detectable?
Perhaps, we may want to add a validation or error prevention to prevent someone from submitting accidentally with the suffix "- 15489 Addresses" or "X addresses". Is there a way we might detect if that's part of the street address and use error handling to prevent that scenario?
Tradeoff: too much enforcement might prevent someone from submitting a non-conventional western address, we should be cognizant of losing the flexibility / modifiability of this component. A slight nudge or prompt that doesn't prevent them from continuing might make sense here?
Todo:
Implement
Originally posted by @timarney in https://github.com/cds-snc/platform-forms-client/issues/4444#issuecomment-2429960786