jquery-accessible-autocomplete-list-aria icon indicating copy to clipboard operation
jquery-accessible-autocomplete-list-aria copied to clipboard

Add documentation about how to initialize the plugin with async data

Open julkue opened this issue 7 years ago • 4 comments

I need to fetch the <datalist> data from a server. Would be cool if the plugin would support async data + have a documentation about this matter.

julkue avatar Jun 19 '17 14:06 julkue

Same as @julmot here.

I clearly see the usefulness to quickly traverse a finite known list with the plugin. But what about dynamic list of suggestions base on the input state "query" ?

kairos666 avatar Jul 13 '17 06:07 kairos666

Great job Nicolas, Your plugin is very accessible. Maybe a little verbose.

Same as @julmot. If you think work again on this plugin, it would be interesting to add async data and the management of JSON.

I also think it is better to include your plugin in a function for the scope of the variables.

You can also test if datalist is already supported on the browser. Natif html object is often better.

stevenMouret avatar Aug 25 '17 09:08 stevenMouret

Hi all,

it is a good idea, my only problem is free time to do it :)

I'm wondering how I could do it keeping simplicity of the plugin (how to call it in a declarative way... a call to a function, other?)

If you have ideas, do not hesitate to share ;)

nico3333fr avatar Aug 28 '17 13:08 nico3333fr

Hi, I'm digging up this topic but this fork may help you. I needed dynamic datas too so I turn this plugin into a function. There is a demo file to help you see how this is working: https://github.com/lchandelier/jquery-accessible-autocomplete-list-aria

lchandelier avatar Jul 26 '19 12:07 lchandelier