I very much appreciate that the app allows me to write in the
license-plate state; the web site offers a list of the 50 states and DC,
which is fine when it's not the odd Canadian or federal-government-fleet
plate
Great point! I'll see if I can make it so that you can type your own
state if you'd like, while still having the existing list to easily pick
from, using a datalist. I'll try to keep you posted!
The <input> element syntax was adapted from the preceding plate field.
I don't know why I had the licenseState = licenseState || this.state.licenseState
line in the setLicensePlate function, but it made it so that you can't
delete all the characters from the field, so I removed it. It was added
in commit 0198474a9193a6b668a2f58fd224f98819d40f4e, but I didn't write
down why I added it.
See email titled "Re: Glitches": https://mail.google.com/mail/u/0/#sent/FMfcgzQXJkQzKQxDrvjxTNhzNfHSVLCS
The
<input>
element syntax was adapted from the precedingplate
field.I don't know why I had the
licenseState = licenseState || this.state.licenseState
line in thesetLicensePlate
function, but it made it so that you can't delete all the characters from the field, so I removed it. It was added in commit 0198474a9193a6b668a2f58fd224f98819d40f4e, but I didn't write down why I added it.