Questions tagged [magicsuggest]

MagicSuggest is a highly configurable jQuery plugin for Auto-suggest combo with bootstrap theme.

MagicSuggest is a highly configurable jQuery plugin for Auto-suggest combo with bootstrap theme.

Features:

  • the side trigger is visible and the selected items appear within the combo itself.
  • suggestions will appear as the user starts typing
  • the user can toggle the suggestions using arrow keys
  • the user can delete selected items by using backspace
  • the user can hold the ctrl key to select multiple items
  • the user is free to enter new input using the enter key after having entered text

There are many configuration options that allow you to customize the component

81 questions
0
votes
0 answers

"required" bootstrap attribute on magicSuggest field

i try to appear the bootstrap's tooltip "required" on magicSuggest field. //magic suggest $(function() { var ms = $('#data-category').magicSuggest({ …
0
votes
0 answers

Magic suggest case insensitivity

I need help, here is my view
Ritesh Khatri
  • 1,253
  • 13
  • 29
0
votes
1 answer

Magicsuggest change selection programmatically

I've been working with MagicSuggestion for a couple of days:
VehicleNameList = [{id: 1, name: "Volvo"}, {id: 2, name: "Audi"}, {id: 3, name:…
LAffair
  • 1,968
  • 5
  • 31
  • 60
0
votes
2 answers

MagicSuggest: Get length of selections on blur

I am using MagicSuggest and I need to get the length of the selections on a blur event. My code works great if I add a new selection via the ENTER key but does not work if I choose an existing selection from the list. Use cases if User chooses…
Clinton Green
  • 9,697
  • 21
  • 68
  • 103
0
votes
2 answers

Promise in MagicSuggest data function

I have tried asking this question directly on github but there does not seem to be much movement in this project anymore. It would be great if someone on SO has an idea. Is it possible to return a promise in the data function? I have tried the…
michaeldd
  • 514
  • 2
  • 6
  • 18
0
votes
1 answer

How to add data to MagicSuggest input via a button click

I am using MagicSuggest in a form. The plugin is working great but I want to have the functionality to add data to it via a button click. This is what I have tried below, it adds the data to it but if I click on the input, the data…
Clinton Green
  • 9,697
  • 21
  • 68
  • 103
0
votes
1 answer

{{=XML(some thing)}} can't be parsed in html with web2py

I am using magicsuggest as a auto-complete plugin of a web application with web2py. I define a list variable dt=['张','李'] in the model/db.py. The element in the list is Chinese. However when I embeded the variable in the html like{{=XML(dt)}}…
Yibing Liu
  • 21
  • 5
0
votes
1 answer

Stop magicsuggest from pre-loading dynamic source

I am using the plugin from MaggicSuggest from: nicolasbize.com I have set it to delay @ 400ms , and minimum 3 chars required before it loads data. I noticed that this plugin preloads data once during initiation. What i wanted it to do is to not…
BrownChiLD
  • 3,545
  • 9
  • 43
  • 61
0
votes
2 answers

attach magicsuggest on dynamic elements

I would like to ask how can I attach magicsuggest on multiple dynamic elements? Has anyone have done it before? Heres the situation, everytime i type "comma" or hit "enter" it should create a panel with 2 inputs with magicsuggest each. So if i…
user3651476
  • 171
  • 1
  • 9
  • 20
0
votes
0 answers

Magic Suggest focus always on first input

I am about to develop a dynamic inputs inside a panel with magicsuggest function. So i tried to hardcode the elements first in jquery and attached magicsuggest function each. But i am getting issue. As you can see below, I have "Request", and…
user3651476
  • 171
  • 1
  • 9
  • 20
0
votes
1 answer

MagicSuggest dependent multiple dropdowns not working

I am using MagicSuggest for custom dropdown, now I have two dropdowns category and sub category.. sub categories should be populated based on category selection. When I select category, and then subcategory, it will work for the first time, but if I…
manugdas
  • 33
  • 7
0
votes
1 answer

Magicsuggest - Turn off suggestion matching/filtering

I'm using a jQuery plugin named MagicSuggest. It works fine but I have a special case. I want to turn off its suggestion matching feature. With its default feature, when I type 'New', it will suggest all the words with 'New' in it, but I want to…
Alex Coroza
  • 1,747
  • 3
  • 23
  • 39
0
votes
1 answer

How to remove focus from one magicsuggest component and set focus on second magicsuggest component

I am using magicsuggest and have two select boxes as i have shown in image below, my problem is i am able to set focus on second maggicsuggest box with help of $(myCustomId).blur(); $('#ms2').attr("tabindex",-1).focus(); but there is still blue…
Keval
  • 1,857
  • 16
  • 26
0
votes
2 answers

I can't insert Russian letter "Б" inside the field Magicsuggest

I can't insert russian letter "Б" inside the field Magicsuggest. It works fine in Firefox, but the rest of the browsers don't show this letter in the field.
0
votes
1 answer

Disable other groups, when select an item

I search for a way to disable other groups in magicsuggest, when you select an item. Example from the magicsuggest page (http://nicolasbize.com/magicsuggest/data.json): When I select an item from the group "United States", let's say "Chicago", it…
user3528269
  • 368
  • 1
  • 3
  • 16