MVC v3.3.2
I added a new entity with a one-to-many relationship. Even with no data, when I try to load the UI grid, I get this:
Your request is not valid! The following errors were detected during validation.
- The value '—' is not valid for XXXXXId.
Even with good data (i.e. none of the rows have a null XXXXXId, I get the same error.
7 Answer(s)
- 
    0hi @robb@designitcorp.ca Can you share the steps to reproduce the problem or provide a project? liming.ma@volosoft.com 
- 
    0can you double check that you are running on 3.3.2. this was an old issue and must be fixed in 3.3.2 
- 
    0this character is in these templates: createjs_DropdownFunctions.txt,editjs_DropdownFunctions.txtandIndexjs_NavigationPropertyDropdownOpenEditModalArgs.txt.When I check it in v3.3.2 (Suite) I don't see the dash char. 
- 
    0We are definitely in v3.3.2 But sorry, I don't know where to find these TXT files you are referring to. I have grepped the solution folder and there are no *.TXT files. 
- 
    0
- 
    0
- 
    0to fix this, you can update the following templates: editcshtml_cs_LookupDropdownProperty.txt public List<SelectListItem> %%np-entity-name%%LookupList { get; set; } = new List<SelectListItem> { new SelectListItem(string.Empty, %%np-entity-type-as-empty%%) };
 Index.cshtml_cs.FilterDefinitionNavigationPropertyList.txt public List<SelectListItem> %%np-entity-name%%LookupList { get; set; } = new List<SelectListItem> { new SelectListItem(string.Empty, %%np-entity-type-as-empty%%) };PS: this will be fixed in the next version. 



 
                                