SOLVED: Setting standard dropdown item does not work - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18) +--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4) +--- Thread: SOLVED: Setting standard dropdown item does not work (/showthread.php?tid=457) |
SOLVED: Setting standard dropdown item does not work - Guido1982 - 10-10-2016 Beware: this is on my ExactOnline module, the first module I made so probably I made some mistake there. One of the fields created is a dropdown in the invoice module. From time to time, it updates the optional items. The problem is, I set a standard value for this picklist in the layout editor of invoices, but it doesn't work. Where is this standard value stored? EDIT I found the default value is stored on the field row in vtiger_field. The default value I selected is stored, but not used when I create a new invoice. Think I found it. The script I use to sync the field options adds a bunch of spaces. That's why when in Smarty the option labels/values don't exactly match and the "selected" attribute is not set. RE: SOLVED: Setting standard dropdown item does not work - Guido1982 - 10-10-2016 Solved in this commit |