Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVC model bound ID field not posted back #8

Open
DiskJunky opened this issue Mar 16, 2016 · 3 comments
Open

MVC model bound ID field not posted back #8

DiskJunky opened this issue Mar 16, 2016 · 3 comments

Comments

@DiskJunky
Copy link

Once selecting an item from the returned results and clicking on a submit button, the ID value isn't posted back to the controller in the model

@timdwilson
Copy link
Owner

Please send me the source code/test where this is failing. This works in every test I have run. My suspicion is there is an underlying javascript error that is preventing the ID value from being set. Please let me know, however, what the error is and/or the relevant test case so I can reproduce it.

@DiskJunky
Copy link
Author

This works in your sample application. I suspect this may relate to issue #6 with the unusually long/complex autocomplete-id-field. Thankfully, I don't actually need this field in my app so I'm not too concerned but hopefully finding the cause of the complex id format will resolve this too.

@timdwilson
Copy link
Owner

Yes, that is correct. I'll leave this issue open. I think that this is related to trying to use properties on an item in a collection in AutocompleteFor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants