You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
- This bit was missed when changing the `ViewComponent` invocation pattern resulting in the inability to invoke `ViewComponent`s with arguments in a `Controller`.
#4004
- This bit was missed when changing the `ViewComponent` invocation pattern resulting in the inability to invoke `ViewComponent`s with arguments in a `Controller`.
#4004
- This bit was missed when changing the `ViewComponent` invocation pattern resulting in the inability to invoke `ViewComponent`s with arguments in a `Controller`.
#4004
NTaylorMullen
changed the title
Controller not passing arguments to ViewComponents
Controllers do not pass arguments to ViewViewComponentResults.
May 16, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I've run into a small problem which I wish to confirm.
With the recent changes to ViewComponents it is now called as such:
Inside a Razorview the argument is passed correctly.
However the argument is not passed when calling it from a Controller as such:
I've also tried:
ViewComponent code:
The menuPageId value in the ViewComponent remains 0 when passing through the Controller. It is the correct value when passing through a razor view.
Dependencies:
DNX Version: 1.0.0-rc2-16357
Sincerely,
Dries
The text was updated successfully, but these errors were encountered: