Code Monkey home page Code Monkey logo

contenteditable-autocomplete's People

Contributors

gr2m avatar npmcdn-to-unpkg-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

contenteditable-autocomplete's Issues

Mid way through text completion

Hey. Nice plugin. I've been working on something similar myself that allows auto complete mid way through a paragraph for example. I notice that if I write some text prior to the country, the auto complete doesn't work. It's more like a single input autocomplete. Is this something you're looking at? Currently I'm struggling with IE. I'll chuck it up on GitHub at some stage.

If that wasn't a clear explanation, I mean like this...
http://c.sampotts.me/Uuj6

ReferenceError: module is not defined

When I used bower for download new version I cant simply run that cause exception "ReferenceError: module is not defined".
I tried to make build but resultant dist js file is corrupt. Do i need Webpack for build?

I think it's nonsense need to make build for single usage of this little library..

Can not delete old versions!!!!!

Man I used your older version via bower and one day I tried make bower install and it told me it can find selected version of contenteditable-autocomplete....

pass selected as object, not string

Let's say I have this:

$('[name=country]').on('autocomplete:request', function(event, query, callback) {
  callback([
    {label: 'Germany (Europe)', value: 'Germany', meta: 1},
    {label: 'Thailand (Asia)', value: 'Thailand', meta: 2},
    {label: 'Uruguay (South America)', value: 'Uruguay', meta: 3}
  ]);
})

Today, the autocomplete:select event passes the value as string. But what I it should pass an object with label, value and all other properties passed to the respective suggestions instead

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.