Name | Default value | Description |
id | | Required. The unique ID for this control. |
allowCustomValues | false | Indicates whether to allow custom values to be entered. |
choices | [] | A static dictionary of options for the dropdown list. If bound to a managerid, the static choices specified here are prepended to the dynamic choices from the search. For example:var mychoices = [
{label:"text1", value: "value1"},
{label:"text2", value: "value2"},
{label:"text3", value: "value3"}
];
|
default | | The default choice. |
disabled | false | Indicates whether to disable the view. |
initialValue | | The initial value of the input. If defaultis specified, it overrides this value. |
labelField | "" | The UI label to display for each choice. |
managerid | null | The ID of the search manager to bind this view to. |
minimumResultsForSearch | 8 | The minimum number of results. |
selectFirstChoice | "false" | Indicates whether to use the first available choice when the user has not made a selection. If the default property has been set, that value is used instead. |
settings | | The properties of the view. See the methods below to get and set values. |
showClearButton | true | Indicates whether to display that "x" next to choices, allowing a selection to be cleared. |
value | | The value of the current choice. |
valueField | "" | The value or search field for each choice. |
width | 200 | The width of the view, in pixels. |