Skip to content

Releases: yairEO/tagify

v4.18.2

11 Jan 19:29
Compare
Choose a tag to compare
  • fixes #1251 - Enter key does not create tag when dropdown.position is set to "manual" 3e10b2b
  • fixes #1277 - Delimiter 'spacebar'-key doesn't work correctly - tag is added only after another text input is performed af15966
  • fixed an issue with tagTextProp and multiple whitelists scenarios 1453040
  • removed a TODO comment which was already done years ago 51bb087
  • #1276 - added a new setting autoComplete.tabKey 325df3e
  • added beforeKeyDown new hook & addTagOn setting dfd234f
  • fixed incorrect path d76eaf2
  • fixed code comment typo 4c474ea
  • improved the events section in the README by mentioning the off method 878d413

v4.18.1...v4.18.2

v4.18.1

06 Jan 19:14
Compare
Choose a tag to compare
  • added Caveats section to the README d57a915
  • fixes #1266 - Pasting text not showing suggestion list ef39d66
  • fixed pasting content in "normal" mode, which was pasting and unable to do "setRangeAtStartEnd" as the second parameter (node) was not a node but just text d8219bc
  • fixes #1268 - transformTag is not called before a tag is edited by selecting a dropdown suggestion 5f48853
  • fixes #1272 - Different order of callbacks betwen desktop & mobile for edit:updated event b151dbe
  • changed the default --tag--max-width CSS variable in the main demo page to 100% (from auto) a337f2c
  • fixes #1257 - tag with text content (without spaces so it won't break into a new line) should be truncated correctly, occupying all the available width of the Tagify field 7b195e5

v4.18.0...v4.18.1

v4.18.0

04 Jan 21:29
Compare
Choose a tag to compare
  • Added RTL demo 4aa96cf
  • Added escapeHTML dropdown setting which optionally allows HTML to be rendered inside the value of each suggestion item 825600b
  • The positioning code now takes into considerations the RTL dropdown setting which rendered the suggestions dropdown as if it sticks to the right side of the Tagify. 8b74bcc
  • Added conditional class name tagify__dropdown--RTL to the dropdown wrapper 576243d
  • added cx helper function for working with complex class names f0f51e9
  • Added RTL setting description
  • Added --tagify-dd-item-pad global CSS description ed4e650
  • Replaced margins at several places with logical margins, for RTL support
  • Added --tagify-dd-max-height as global variable for an easier control over it - Added RTL support for the suggestions dropdown, but it only makes sense if the max-width of the dropdown is set to none or any other value greater than the Tagify width f2331be
  • Re-instated minification for the jQuery-wrapper output file 19f3844
  • Random minor CSS refactor cef19c2
  • Comment rephrasing dfab68d

v4.17.9...v4.18.0

v4.17.9

20 Aug 08:43
Compare
Choose a tag to compare
  • added engines section to package.json file 9ad1cf6
  • improved example code to initially be disabled and quickly be enabled after initialization 748c501
  • fixed so removeTags only happens if the delete key was pressed and not the backspace key 4438723
    • allow DELETE key before the very first tag, if it's the first node also - added a constants file - fixCaretBetweenTags helper function should not change caret position if the tagify instance is not in focus 787eb49
  • fixes #1221 - an initially disabled field should be editable once setDisabled(false is called 37ba312
  • fixes #1231 - moved placeCaretAfterNode to the helpers file and added 2 places where a zero-width character is injected: between tags and before the first tag, only if its the first node 1d41a69
  • should allow selecting dropdown values with multiple spaces in them c8b9466
  • fixes #1214 - in mix-mode, the pattern setting represents which pattern starts a tag, but the tags themselves do not have this pattern when being edited, and so, pattern-validaiton should not occur 4a67775
  • fixes #1232 - getTagIndexByValue should use the value property of the tag's data and not assume the tag's innerText is same as the value 5c76a58
  • added pre-wrap to the styles of the dropdown items so multiple spaces could be rendered (fixes #1224) 0e6f3de
  • replaced minified regex which was supposed to collapse white space between tags but also caused a bug - it removed spaced within attributes. Came up with a better solution. (fixes #1224) 97380d9

v4.17.8...v4.17.9

v4.17.8

12 Apr 15:10
Compare
Choose a tag to compare
  • fixes #1179 - prevent loadOriginalValues() from triggering a 'change' event ca3c92e
  • fixes #1166 - focus issues in firefox, when clicking the scope twice the input gets blured 3a391dc
  • fixes #1192 - in select-mode it is impossoble to have a value of "0" 22c25b1
  • fixes #1192 - in select-mode it is impossoble to have a value of "0" 2d3bbf6
  • [chore] fixed the "advance options" example in the demo which was missing "trim: false" due to having a "space" as a defined delimiter 6df8633
  • fixes #1195 - pressing ENTER key on a focused readonly tag should not go into edit-mode. Also DELETE key should not work for readonly tags. e57595f
  • Fix README typo 71b8c8e
  • Updated Taiwan in index.html country list 818a107
  • Updated Taiwan in country list f21f505
  • Removed small typo of s from e.details.value 340a508

v4.17.7...v4.17.8

v4.17.7

16 Jan 20:28
Compare
Choose a tag to compare
  • fixes #1166 - Focus issues in firefox e164101
  • fixes #1169 - Adding tags in mix-mode always puts caret at end of input 70a6596
  • added test case file 4a3d2f4
  • fixes #1167 - Pasted data into empty tag created via addEmptyTag automatically disappears on blur cd218d7
  • fixed typo ab16fe8
  • fixes #1160 - expose the getSetTagData method 3b2551a
  • fixed typos 90f74db

v4.17.6...v4.17.7

v4.17.6

04 Dec 18:49
Compare
Choose a tag to compare

v4.17.5

03 Dec 23:10
Compare
Choose a tag to compare
  • Undoing #384 fix as it seems. This also fixes #1153 4224eb9

  • changes React file from js to jsx 5556c33

  • fixes #1155 - should again take inco consideration the dropdown might be open when the timeout fires 7f6f787

  • fixes #1154 - "isCaretAfterTag" is sometimes "true" and not an element, so make sure it's an element before continuing 6317fc7

  • mix-mode is better initialized by default with dropdown.position as text 903444c

  • added missing argument in function's comment 1ec88c3

  • added pnpm lock file 17e2884

v4.17.4...v4.17.5

v4.17.4

19 Nov 15:54
Compare
Choose a tag to compare
  • for auto-complete, should be mapped b6bdcea
  • suggested text must be a string and not number, and also should be initialized if data is empty so value is an empty string ac7e5f8
  • Deepscan errors fixes 63a8934
  • fixes #1150 - autosuggest should use getMappedValue in order to find the best match for the string f0f9529

v4.17.3...v4.17.4

v4.17.3

17 Nov 14:55
Compare
Choose a tag to compare
  • fixes #1149 - Caret placement is at begining (and not end) after calls to editTag 22c90ec
  • fixes #1148 - calling setRangeAtStartEnd with wrong 2nd parameter 869f1da

v4.17.2...v4.17.3