You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTML allows specifying <datalist> component with a list of <option> elements. We should have a DataList control in DotVVM.
Since it does not have a concept of selected values, we cannot use the classes Selector or SelectorBase.
However, we will need to have it the DataSource property and ItemTextBinding, which would extract the display value in case the data source contains a collection of objects.
Then, we can add the List property to the TextBox control, which would receive the ID of the associated DataList control, and do the trick. The usage would look like this:
HTML allows specifying
<datalist>
component with a list of<option>
elements. We should have aDataList
control in DotVVM.Since it does not have a concept of selected values, we cannot use the classes
Selector
orSelectorBase
.However, we will need to have it the
DataSource
property andItemTextBinding
, which would extract the display value in case the data source contains a collection of objects.Then, we can add the
List
property to theTextBox
control, which would receive the ID of the associatedDataList
control, and do the trick. The usage would look like this:The text was updated successfully, but these errors were encountered: