Results 1 to 6 of 6

Thread: Dropdown -None-

  1. #1
    aschaeffer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    Vienna, Austria
    Posts
    35

    Default Dropdown -None-

    Hi!
    I'm using Sugar OS 4.5.0f and made a few adaptation. I have a problem creating Dropdowns and selcting -None- as default value. I have an emty field in my dropdowns but I can't select it as default.
    Can someone help me?

    Thanks a lot!
    Alan

  2. #2
    aschaeffer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    Vienna, Austria
    Posts
    35

    Smile Re: Dropdown -None-

    Well, I found the answer myself (almost)
    Go to the DB
    fields_meta_data
    Choose the field
    in default_value type "-none-"

    The dropdown must have an empty choice in first position as well.
    So actually it looks like someone made a little mistake because -none- is not possible to select as default from the Studio.

    Alan

  3. #3
    cywolf's Avatar
    cywolf is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Toronto, Canada
    Posts
    223

    Default Re: Dropdown -None-

    I believe if one of the options has a blank key and value then "--None--" will be substituted when it's displayed as a dropdown. I'm not sure if Studio lets you create blank dropdown options though.
    Andrew Whitehead
    The Long Reach Corporation
    http://infoathand.com

  4. #4
    aschaeffer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    Vienna, Austria
    Posts
    35

    Default Re: Dropdown -None-

    Studio does let you create a blank option, that will display -none- in the module. That works so far.
    What studio doesn't let you do is select this -none- option as default.

  5. #5
    harish040 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    12

    Default Re: Dropdown -None-

    i have created a dropdown in sugar 4.5.0c. if u want i can help u out....

  6. #6
    aschaeffer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    Vienna, Austria
    Posts
    35

    Default Re: Dropdown -None-

    Thanks, but as I replyed to my own post, I found the answered (and explained it). So there is no issue left (at least for this)
    Alan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •