Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SOLVED: Setting standard dropdown item does not work
#1
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.
Reply
#2
Solved in this commit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)