typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

New line isn't supported? || Line breaker

Open beckylemesmash opened this issue 2 years ago • 0 comments

Describe the bug A clear and concise description of what the bug is. My dataset has items with new line for example "line1\nline2" both suggestion and selection remove "\n"

To Reproduce Steps to reproduce the behavior:

  1. Create typeahead input
  2. Add item with new lines
  3. Search for item

Expected behavior Item would be displayed with new lines and after selection new line wouldn't be removed

beckylemesmash avatar Jan 14 '23 15:01 beckylemesmash