Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Has anyone gotten AutoCompleteField to display in popup correctly?


Go to End


2 Posts   1129 Views

Avatar
otherjohn

Community Member, 125 Posts

8 June 2010 at 3:55am

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

Avatar
J2-Paul

Community Member, 51 Posts

14 October 2010 at 1:50am

Edited: 15/10/2010 7:06am

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.