field 2 inactive, someone could help


[updated 24/11/2012] Dependent dropdown (library)
#341
Posted 08 April 2018 - 10:31 PM
#342
Posted 09 April 2018 - 09:06 AM
Hi Guys,
It's a great library..
I have some problem, the second select list is updated but it's still disabled..
The select option is updated accordingly, however the JQuery Chosen is still disabled and it's not populated..
I wonder if someone has similar situation
#343
Posted 08 May 2018 - 05:25 AM
Hi, I am new to grocery crud library. For dependent dropdown, I used gc_dependent_select library. first dropdown work fine but second dropdown is disabled on page load as well as onchange firts dropdown. Please help me out
Please find the attached screenshot. URL: https://www.screenca.../t/Xg88C9Th4byT
thanks
#344
Posted 16 May 2018 - 06:31 AM
Hi, I'm a newbie to GC and I have managed to install it successfully. Now I'm trying to add the dependent select box with this library. I'm getting values in the country dropdown, but state and city dropdowns seem to be disabled. I think I'm having issues with including js files, please find attached files. Also, I have created the foreign key between tables country, state and city.
Pasting the controller function
***********************************************************************
***********************************************************************
Thanks in advance.
#345
Posted 13 June 2018 - 05:43 AM
Hi Victor,
I have same problem like everyone, the first dropdown can be used, when i select one option the first dropdown the second dropdown still disabled. I am using GC 1.6 and your library version 1.5.
Please help me. Thanks.
#346
Posted 23 January 2019 - 11:29 AM
Helllo, i'm new to Grocery Crud. I need help on this dependent dropdown library.
I have downloaded (Gc_dependent_select.php) but don't now how to use.
Please attach the database tables to your reply.
Thanks in advance
#347
Posted 25 February 2020 - 06:16 PM
Hi all and thanks Victor for this awesome library.
I just wanted to ask if it's possible to set a default selected value in the first dropdown.
Thanks for your help!
Andrew
#348
Posted 10 May 2020 - 08:27 PM
Hi all!
First of all I want to pay respects to victor and of course to web-johnny, I really appreciate your work and generosity open sourcing & sharing it.
I want to report that this library works perfectly on GC v1.6.3 too (as of May 2020), and also share two tips to ease its use:
1) In my case I had to add index.php, to the url parameter, as Victor already had answered in some other post in this same thread.
"url" => base_url() .'index.php/'. __CLASS__ . '/' . __FUNCTION__ . '/',
2) I think the next question is answered as follows, as I have two different dependent dropdowns on the same CRUD (linked to the same father dropdown, but for sure it is the same solution if they are cascaded dropdowns).
Hi Victor,
I have same problem like everyone, the first dropdown can be used, when i select one option the first dropdown the second dropdown still disabled. I am using GC 1.6 and your library version 1.5.
Please help me. Thanks.
For two (or more) dependent dropdowns segment_name parameter is mandatory, so you have to give it a different name for each dropdown (it is the last parameter so pay attention to add an ending ',' on previous line):
'segment_name' =>'second_select'
Best regards,
Carlos
Also tagged with one or more of these keywords: Dependent dropdown, categories, ajax, dropdown, Categories and sub-categories
Support →
Grocery CRUD Enterprise →
Problem with the setRelation dropdown.Started by dhouwen, 04 Feb 2020 ![]() |
|
![]() |
||
Support →
I have a question →
CSRF Regenerate Not WorkingStarted by satheesh, 10 Dec 2019 ![]() |
|
![]() |
||
Support →
I have a question →
Grocery Crud dependent dropdownStarted by rim, 21 Nov 2019 ![]() |
|
![]() |
||
Development →
Extra coding / Plugins →
DependentDropdown(custom query) + PostAjaxCallbacks + MoreButtons + MoreUnsets + CustomColumnStarted by genya, 29 Jul 2019 ![]() |
|
![]() |
||
Support →
Grocery CRUD Enterprise →
Disable dropdown in search filters and change to text inputStarted by Indeax, 26 Nov 2018 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users