Zivi / FlattestRoute

Flattest Route - Google Maps directions with elevation info
MIT License
169 stars 48 forks source link

change default value to a placeholder #7

Closed jmondo closed 11 years ago

jmondo commented 11 years ago

sometimes, especially on mobile, it's annoying to remove the text in the box. it would be easier to just tap there and enter what you want.

this is supported in all except IE < 10. http://www.w3schools.com/tags/att_input_placeholder.asp

I can see the case for entering two locations to give a demo of the app, but in that case it should actually get the user directions (to show them the rest of the demo). No directions, no defaults. that's my 2c.

I think this also matches the expected look for fields where the user should enter stuff. Right now it doesn't look actionable because it's already filled in.

Zivi commented 11 years ago

Thanks!