Issue found in ColumnControl with SaveState and search logic icons
Issue found in ColumnControl with SaveState and search logic icons
SearchInput._stateLoad() never validates a restored search-logic value against the currently-rendered <option>s before repainting the type icon, so a stale/mismatched saved value renders literal "undefined". - probably should just pop the first option and clear the value if the logic type no longer exists
Kind of hard to reproduce all the time, but I can generally reproduce it it tables using column reorder that are then refreshed - you get "undefined" instead of the correct icon in the search input
Replies
something like that would probably fix it? Sorry I don't have a dev environment set up for datatables or I'd just do a PR
This is fixed in the last release - thanks!
Apologies for having not replied to this thread. I must have missed it. Good to hear that the latest release fixes the issue.
Allan