Closed minyoung closed 8 years ago
Defaulting to Tokenizer.displayOption
seems like a reasonable thing to do.
Also updated README.md
to include the new Tokenizer.formInputOption
Thank you SO much for cleaning up this code, also! This is great!
Might need to do some post processing on the default if the display value is an HTMLElement instead of text, but we can burn that bridge when we get to it.
Typeahead
has theformInputOption
property, which can be used to transform a complex option to a form input value. It would be nice to have the same thing forTokenizer
.