I have the following HTML code snippet HTML:
<select style="width: 100%" name="multipleSelect" id="multipleSelect" ng-model="data.multipleSelect" multiple>
<option ng-click="BRPTab.AddFilesToOpenorDelete(fileName)" ng-repeat="fileName in BRPTab.FileNames">{{fileName}}</option>
</select>
Just to note, BRPTab is being used as an Alias.
Script code:
scope.AddFilesToOpenorDelete = function (FileName) {
scope.SelectedFiles = [];
var request = { FileName: FileName };
scope.SelectedFiles.push(request);
}
This setup works alright on Chrome, but seems to be causing some issues on IE. Any suggestions on how to fix this?