I recently updated the app to the 3.13 framework, and now am getting the following error when I load my application.
Uncaught TypeError: Cannot read property 'missingMessage' of undefined
Chrome says the error is being thrown on the Select Dijit. I do not have "lang" in my HTML tag (like this error). Anyone have any ideas?
var querySelect = new Select({
id: "querySelect",
name: "querySelect",
options: [
{label: "Signs", value: "signs", selected: true},
{label: "Bridges", value: "bridges"},
{label: "Culverts", value: "culverts"},
{label: "Drains", value: "drains"},
{label: "Roads", value: "roads"}
]
}, "query_select").startup();
UPDATE
Here is the simplifed code:
<script src="query.js"></script> //Script with Select Dijit
<script>
var map;
require([
"dojo/parser",
"esri/config",
"esri/IdentityManager",
"dijit/layout/BorderContainer",
"dijit/layout/ContentPane",
"esri/map",
"esri/toolbars/draw",
"dojo/dom-construct",
"esri/dijit/HomeButton",
"esri/dijit/Scalebar",
"esri/geometry/webMercatorUtils",
"esri/dijit/BasemapToggle",
"esri/dijit/Geocoder",
"esri/layers/GraphicsLayer",
"esri/layers/FeatureLayer",
"esri/layers/ArcGISDynamicMapServiceLayer",
"esri/Color",
"esri/symbols/SimpleMarkerSymbol",
"esri/symbols/SimpleLineSymbol",
"esri/graphic",
"esri/tasks/query",
"esri/geometry/Extent",
"esri/geometry/Point",
"esri/tasks/GeometryService",
"dojo/on",
"dojo/dom",
"dojo/dom-style",
"dijit/form/CheckBox",
"esri/tasks/IdentifyTask",
"esri/tasks/IdentifyParameters",
"esri/InfoTemplate",
"esri/dijit/Legend",
"esri/request",
"dojox/grid/DataGrid",
"dojo/store/Memory",
"dojo/data/ItemFileWriteStore",
"dojo/dom-construct"
], function (parser, esriConfig, IdentityManager, BorderContainer, ContentPane, Map, Draw, domConstruct, HomeButton, Scalebar, webMercatorUtils, BasemapToggle, Geocoder, GraphicsLayer, FeatureLayer, ArcGISDynamicMapServiceLayer, Color, SimpleMarkerSymbol, SimpleLineSymbol, Graphic, Query, Extent, Point, GeometryService, on, dom, domStyle, CheckBox, IdentifyTask, IdentifyParameters, InfoTemplate, Legend, esriRequest, DataGrid, Memory, ItemFileWriteStore, domConstruct) {
parser.parse();
query.js
? isn't the problem reproducible when you comment out all those other unrelated modules?