conveyal / otp.js

OTP Javascript Client & Data Bindings
MIT License
19 stars 20 forks source link

edit in-place for to/from #17

Closed kpwebb closed 9 years ago

trevorgerhardt commented 9 years ago

Is this one necessary? The use case doesn't seem to make sense to me with the current implementation. The contents of the to/from boxes will either be full addresses or "marker location". If you want to edit the address, you'd still need to get a geocoded response back that matches the entered in address. Selecting the part of the address, editing it, getting a response, and selecting it seems like it would be just as much work as typing in the address all over again.

On my laptop, I tend to edit, but never on mobile. I'd imagine I wouldn't notice a lack of editing if the geocoded response are fast enough.

Would need some Select2 hackery. It would auto fill the dynamically created input box when it appears and trigger an immediate search.