List Options - Get options from database - option label field not saving

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 21   (RSS)

By Deborah - June 20 - edited: June 20

I'm enjoying the new features of the past few releases!

Sorry to say, I may have found a small bug in 3.71. (see screenshot)

---
I created the following Field Editor:
Field Typle = list
List Options = Get Options from database (advanced)
Section Tablename = galleries
Option values  = num
Option labels = gallery_name
---
After saving the new Field Editor, I viewed the settings again, and instead of seeing Options labels = 'gallery_name', the field displayed had reverted to '<select field>'.

The 'gallery_name' selections are available from the associated 'galleries' editor appear to be writing the chosen 'num' to the database.

Wondering if someone else could confirm what I'm seeing.

~ Deborah

Hi Deborah, 

Good find, that is indeed a bug. Fortunately, you can't save without that field defined, so it will be easy to notice, but annoying to have to re-enter that field each time.

We'll have this fixed in the next release and I've attached an updated /lib/menus/database/editField_functions.js with a fix.

Let me know if you have any questions or spot anything else.  Thanks!

Dave Edis - Senior Developer
interactivetools.com
Attachments:

editField_functions.js 21K