[SOLVED] Chained Selects jQuery Plugin

More
11 years 5 months ago #37887 by brandonking
Is this feature coming next release?
Regards,

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37898 by ggppdk
Hello,
did you try duplicating the 'select' field and making the customization that you propose?

This way you can have this feature now ...


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37899 by brandonking
No I haven't tried creating duplicate of select field coz don't know what's the best way to disable select2.
Regards,

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37901 by ggppdk
Hello,
to disable select2 simply:
remove the the CSS class "use_select2_lib"

Find line
Code:
$classes = ' use_select2_lib ';
and change to
Code:
$classes = '';//' use_select2_lib ';

We will put a parameter for this, (to disable select2, but anyway when using chained selects select2 may not be as important or necessary)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37905 by brandonking
I see... I will try to duplicate select field.

But I am still thinking using Select2 as Chained will be bettter... :)
As I mentioned earlier, The Select2 can be used as Chained Select as well but don't know how to implement. I have requested sample code but unfortunately no reply at all.
github.com/ivaynberg/select2/issues/1300

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37907 by ggppdk
Hello,

i liked a specific lib that you suggested :
jquery.chained.js

i think the above will give a smooth/powerful implementation

just no time to review/implement it

and i know that despites v2.0.3 having quite a few of mainly minor bug-fixes it also has additions, so you might ask yourself why not implement chained-select which is a really useful feature

well most time costly addition were templating ... which we will need anyway for J3.x support


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.339 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline