mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
ui: it takes new settings, but doesn't redraw... sure #1689
This commit is contained in:
parent
4e80fa931d
commit
fcb754818b
@ -164,10 +164,18 @@ function formatTokenizersUI() {
|
||||
number_of_items = $(this).prop("size");
|
||||
maxDropdownHeight=String(36*number_of_items)+"px";
|
||||
}
|
||||
hint=$(this).data("hint");
|
||||
width=$(this).data("width");
|
||||
allownew=$(this).data("allownew");
|
||||
nbDropdownElements=$(this).data("nbdropdownelements");
|
||||
maxTokenContainerHeight=$(this).data("maxheight");
|
||||
|
||||
$tokenizer = $(this).tokenize();
|
||||
$tokenizer = $(this).tokenize({
|
||||
displayDropdownOnFocus: true,
|
||||
newElements: allownew,
|
||||
nbDropdownElements: nbDropdownElements,
|
||||
placeholder:hint
|
||||
});
|
||||
$tokenizer.resizeSearchInput();
|
||||
$tokenizer.remap(true);
|
||||
$tokenizer.updatePlaceholder();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user