From: Neill M. <ne...@nl...> - 2010-09-07 13:29:37
|
Hi. I can't seem to get the combobox input type to work at all. I have the the following form and template: {{{for template|Picture Template}}} {| class="formtable" ! Title: | {{{field|Title}}} |- ! Artist: | {{{field|Artist|input type=combobox}}} |- ! Date: | {{{field|Date}}} |- ! Location: | {{{field|Location}}} |} {{{end template}}} {| class="wikitable" ! Title | [[Title::{{{Title|}}}]] |- ! Artist | [[Artist::{{{Artist|}}}]] |- ! Date | [[Date::{{{Date|}}}]] |- ! Location | [[Location::{{{Location|}}}]] Is this a bug? |} Artist is a page property. If I have input type=combobox, then the field does not auto complete and when you click the down arrow nothing shows. If I knock out the input type=combobox then the field auto completes correctly. You can see this at http://scratchpad.referata.com/wiki/Form:Picture_Form In the artist field typing "L" returns nothing and nothing is returned when you click the down arrow. Remove the input type=combobox from the form definition and then when you type "L" into the field the autocomplete returns Leonardo Da Vinci. The same also happens with properties that have a number of Allows value:: set. Comboboxes just don't seem to work at all for me. Running SMW 1.5.2, MW 1.16, SF 2.0. Cheers. Neill. |