[ 8 posts ]

John Mizliso

  • Username: abxccd
  • Joined: Sun Jan 22, 2012 11:20 pm
  • Posts: 48
  • Offline
  • Profile
Tags:

A yui port of chosen

Post Posted: Sat May 05, 2012 5:28 pm
+0-
I just came across this awesome jquery plugin called chosen (http://harvesthq.github.com/chosen/), which has also been ported to prototype and mootools.

It is a very nice plugin that replaces a <SELECT> into something that's a lot more user-friendly.

I am not very familiar with JQuery, so after having looked at the code, I am not sure how to convert the JQuery bits.

If someone could convert this to YUI, I think it would be a great contribution to the gallery :)

Alberto Santini

YUI Contributor

  • Offline
  • Profile

Re: A yui port of chosen

Post Posted: Sun May 06, 2012 7:13 am
+0-
Hello John.

It seems to me there are only cosmetic differences with AutoComplete:
http://yuilibrary.com/yui/docs/autocomplete/
.
Standard Select -> Standard Completion
http://yuilibrary.com/yui/docs/autocomp ... local.html

Multiple Select -> Delimited queries
http://yuilibrary.com/yui/docs/autocomp ... gging.html

Maybe I am missing something.

Regards,
IceBox

John Mizliso

  • Username: abxccd
  • Joined: Sun Jan 22, 2012 11:20 pm
  • Posts: 48
  • Offline
  • Profile

Re: A yui port of chosen

Post Posted: Sun May 06, 2012 3:05 pm
+0-
Hi Alberto,

Initially, I thought about building a clone using autocomplete, but I felt that the interaction of the final component was a lot more involved and complex. I think a dropdown box widget needs to be built and then the autocomplete integrated for the searching.

John :)

Mayank Gupta

YUI Contributor

  • Username: mzgupta
  • Joined: Sun Jul 31, 2011 1:40 pm
  • Posts: 43
  • GitHub: mzgupta
  • Gists: mzgupta
  • Offline
  • Profile

Re: A yui port of chosen

Post Posted: Wed Jun 13, 2012 7:48 am
+0-
I've tried to port one item, Please give me the feedback
http://yuilibrary.com/gallery/show/multivalue-input

Alberto Santini

YUI Contributor

  • Offline
  • Profile

Re: A yui port of chosen

Post Posted: Wed Jun 13, 2012 8:47 am
+0-
Hello Mayank.

Congrats! Very nice!

Best,
Alberto

John Mizliso

  • Username: abxccd
  • Joined: Sun Jan 22, 2012 11:20 pm
  • Posts: 48
  • Offline
  • Profile

Re: A yui port of chosen

Post Posted: Wed Jun 13, 2012 5:20 pm
+0-
That looks very nice Mayank! Hopefully the full chosen can be ported to YUI in the future.

I found a small bug in IE9 though:
Image

You should also get your port added to the notable forks section on the official page: https://github.com/harvesthq/chosen/

Marc

YUI Contributor

  • Offline
  • Profile

Re: A yui port of chosen

Post Posted: Wed Jun 13, 2012 6:04 pm
+0-
I created something like this with autocomplete v2 and a modified version of TagList, which is on the gallery. You can see it in action on www.freelas.net (e.g. profile section : search profile)

Cheers,
Marc

Marc

YUI Contributor

  • Offline
  • Profile

Re: A yui port of chosen

Post Posted: Wed Jun 13, 2012 6:05 pm
+0-
Sorry, just saw that you already built it: very nice!
  [ 8 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum