I have a ng-model populated from multiselect dropdown with key value pair i want to display the selected key value pair in widgets
I created a ng-model with key value pair and the multiselect dropdown is displayed when the user selects multiple values it gives me a object reference set to null error
DesignerView.Simple.cshtml
<select multiple="multiple" id="statreport-selector" ng-model="properties.SelectedReports.PropertyValue" class="form-control">
<option disabled>Select a stat...</option>
<option ng-repeat="report in reports" value="{{report.Title}},{{report.ReportName}}">{{report.Title}}</option>
</select>
Index.cshtml
@model SitefinityWebApp.Mvc.ViewModels.StatsReportViewModel
@using Telerik.Sitefinity.Frontend.Mvc.Helpers
@using Telerik.Sitefinity.Services
@{
var reports = Model.SelectedReports;
}
help me in getting the key value pair selected in multi select dropdown to display in widgets
I have a ng-model populated from multiselect dropdown with key value pair i want to display the selected key value pair in widgets
I created a ng-model with key value pair and the multiselect dropdown is displayed when the user selects multiple values it gives me a object reference set to null error
help me in getting the key value pair selected in multi select dropdown to display in widgets