After my last topic I decided to make another try with SuiteCRM 8.0.4. It seems to me like dynamic dropdowns are not working (or at least are not defined like it was in 7.12). I followed this topic here to create my dropdowns: Dynamic Dropdown Creation - #6 by amariussi
Iâd like to add additional fields to the Case module containing software we support for our customers as well as itâs versions. So hereâs what I did:
I created a custom field âsoftware_name_câ as a standard dropdown list.
I created software_name_list populated with couple of entries: cp - Software 1, cs - Software 2, wch - Software 3 (entry name - entry label).
I created another custom field âsoftware_version_câ as a dynamic dropdown list.
I created software_version_list populated with: cp_1 - 1.0, cp_2 - 2.0, cp_3 - 3.0 and so on for every entry.
For parent dropdown in âsoftware_version_definition_câ I entered âsoftware_name_câ as itâs the name of the field containing the master dropdown.
I changed Edit View for the case, adding both dropdowns.
When I create a new case, I can choose software name without problems, but Version dropdown doesnât show anything, itâs empty. If I try to enter the value manually, it gets deleted (quite understandable, as it is a dropdown with predefined values).
The same setup worked flawlessly in 7.12, so is it some bug or has anything changed between 7.x and 8.x regarding dynamic dropdowns?
Thanks for the info, at least I see Iâm not alone with this issue (Though I havenât been so lucky and none of my dynamic dropdowns I tried to create in 8.x were working ).
Hey this is a bug in the suitecrm 8.x where it using parent dropdown list labels instead of dropdown list values. This is why for @HiltonT ArtsMusic , SportRec and BlitheringFool do not work because there labels and values are different.
In the core you can modify core/app/core/src/lib/fields/base/base-enum.component.ts line number 286
from
Thank you for this find! Iâve tested it with editing .js files (sadly Iâm not knowledgeable enough to recompile anything in SuiteCRM ) and it actually worked. One issue with 8.x down for me.