mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
(mvc) add nbDropdownElements to tokenizer helper
This commit is contained in:
parent
2a7a87c0b4
commit
f985dae7da
@ -155,11 +155,13 @@ function formatTokenizersUI(){
|
||||
hint=$(this).data("hint");
|
||||
width=$(this).data("width");
|
||||
allownew=$(this).data("allownew");
|
||||
nbDropdownElements=$(this).data("nbdropdownelements");
|
||||
maxTokenContainerHeight=$(this).data("maxheight");
|
||||
|
||||
$(this).tokenize({
|
||||
displayDropdownOnFocus: true,
|
||||
newElements: allownew,
|
||||
nbDropdownElements: nbDropdownElements,
|
||||
placeholder:hint
|
||||
});
|
||||
$(this).parent().find('ul[class="TokensContainer"]').parent().css("width",width);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user