Mark's Avatar


08 Mar, 2012 11:44 AM

Hi, please can you explain the preFill: by example? I don't understand how I'm supposed to prefill even a single item with Name = "Mark" and value = "1" .. what is the correct syntax?

I've tried:

minChars: 1, selectedItemProp: "Mark",
selectedValuesProp: "1"

*this breaks the autosuggest cos selectedItemProp is supposed to = "name"

preFill: "Mark, 1"

preFill: {
selectedItemProp: "Mark",
selectedValuesProp: "1"


preFill: {
name: "Mark",
value: "1"

Please help! Many thanks!

  1. 1 Posted by Jon on 08 Mar, 2012 02:08 PM

    Jon's Avatar



    preFill: [ { value: "1", name: "Mark" } ]
  2. 2 Posted by Mark on 08 Mar, 2012 02:33 PM

    Mark's Avatar

    Fantastic, thank you!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac