-
Shortcut
-
koselect
-
Description
-
Snippet for KnockoutJS Select List
-
Language
-
html
-
Author
-
Joshua Blackstone
-
Upload on
-
5-3-2014 20:34:03
-
Downloads
-
1914
ID
|
ToolTip
|
Default
|
options
|
The options list from your viewmodel.
|
|
value
|
The value to be captured in your list from your viewmodel.
|
|
text
|
The text value for your dropdown.
|
function(e){ }
|
id
|
The id value for your dropdown.
|
id
|
caption
|
The default/empty value for your dropdown.
|
-- Select --
|
<select class="form-control" data-bind="options: $options$, value: $value$, optionsText: $text$, optionsValue: '$id$', optionsCaption: '$caption$'"></select>