Skip to content

Lodash doesn't seem correctly configured, can't submit with errors #51

Open
@terryaney

Description

@terryaney

I select an Instructor, go to the Edit page and clear everything out and hit save.

I then get a script error what _.reject() is not a function in showSummary().

I looked at your normal Contoso repo (I didn't pull/test) and noticed that the lodash folder has many more files in it instead of only core.js. I didn't see a libman.json to try and update the libraries, so not sure if I'm missing something and didn't build correctly (just hit F5 and it worked) or if there is a problem with the script.

Additionally, if I instead of clearing all inputs and submitting, I just append the letter 'a' to the date hire and submit. It submits successfully, redirects to listing page, but did not display error nor save bad data.

Side question when you look at this. Trying to understand where the ajax call submits to when clicking submit on Edit page. The form.action is undefined and I put break points in all the methods in CreateEdit.cshtml.cs and never hit any of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions