Here is the html and js code I am using for the angularjs dropdown.
JavaScript code:
$scope.yearValues=[
{
label : "Year 1 - 1/17 - 6/17",
code : "Year 1 - 1/17 - 6/17"
},
{
label : "Year 2 - 6/17 - 9/18",
code : "Year 2 - 16/17 - 9/18"
}
]
HTML code:
<select name="FiscalYear" ng-options="myYear.label as myYear.label for
myYear in yearValues" ng-model="mylYear">
</select>
Everything functions correctly on my local environment, but when I move the code to the development environment, the dropdown values show question marks replacing hyphens.
In the development environment, every occurrence of "-" gets replaced with three question marks.
For example:
Development Environment:
year 1 ??? 1/17 ??? 6/17
year 2 ??? 6/17 ??? 9/18
Expected Output:
Year 1 - 1/17 - 6/17
Year 2 - 6/17 - 9/18
Looking for suggestions on how to resolve this issue. Thank you for your help!