Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Has anyone gotten AutoCompleteField to display in popup correctly?

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 841 Views
  • otherjohn
    Avatar
    Community Member
    125 Posts

    Has anyone gotten AutoCompleteField to display in popup correctly? Link to this post

    Hi all, I am using AutoCompleteField for 3 fields in a getCMSFields_forPopup and when you visit that popup, the autocompletefields are all jumbled up on top of each other. You cannot read the labels and when you type in the AutoCompleteField you do not see the autocomplete work, thought I can tell it is working. I think this may be CSS issues but not sure.
    One other issue is that when you leave the AutoCompleteField it erases what you typed into that field.

    Can someone help on this?
    John

  • J2-Paul
    Avatar
    Community Member
    51 Posts

    Re: Has anyone gotten AutoCompleteField to display in popup correctly? Link to this post

    I have been trying to get this to work to, but without success.

    However, I do think I may have a solution of sorts for your layout issue.

    The Autocompletefield loads this css file.

    /dataobject_manager/code/autocomplete_field/css/autocomplete_field.css

    I put this line in my form.css and the overlay issue was solved.

    .autocomplete_input{height:auto !important;}

    A bit crude but it worked.

    Hope this helps.

    Update: I think this fix does not apply to this module. If I am not mistaken this was done to a site that did not have UncleCheeses fantastic DataObjectManager installed.

    841 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.