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

Problems with model inside model #26

Closed
NunoRebocho opened this issue Aug 14, 2017 · 3 comments
Closed

Problems with model inside model #26

NunoRebocho opened this issue Aug 14, 2017 · 3 comments

Comments

@NunoRebocho
Copy link

Hi,

I have a model that bind fields on Razor. My model have another model with fields to dropdown.

Example:
class Class1() { Classe 2 };
class Classe2() { country, city, street}

In razor the dropdown Id is 'classe2_country' but the identifier to triggered is document.getElementById('county').

How I resolve this problem?

Thanks

Nuno Rebocho

alexanderar added a commit that referenced this issue Aug 15, 2017
@alexanderar
Copy link
Owner

alexanderar commented Aug 15, 2017

You are absolutely right. This was a bug.
I fixed it and released a new version of a library: https://www.nuget.org/packages/Mvc.CascadeDropDown/2.0.1.

Give it a try and let me know if the issues is resolved.
(Don't forget to give us a star :-) )

@NunoRebocho
Copy link
Author

NunoRebocho commented Aug 22, 2017 via email

@alexanderar
Copy link
Owner

Great!

alexanderar added a commit that referenced this issue Oct 12, 2017
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