AI OnAI Off
Just for troubleshooting purposes are you able to make changes to one of the out of the box Form Element views (you will need a copy of those stored in the same location) and have that show up when you view the page?
Thanks @KennyG (I don't think the @ thing works...)
Sorry for the slow response, this thing has taken me down a rabbit hole, but yeah, that helped. I had an error with the Model.GetItems() returning the right stuff and then I think the View has to be named the same as the block. This last bit was not obvious to me. I am sure it is written down somewhere.
Alright... nothing to see here. Thanks for chiming in!
Hey Everyone,
I am making a custom dropdown following this example (https://niteco.com/blogs/how-to-extend-episerver-form/#disqus_thread)
The admin section seems to be working, but I cannot get the item (the View) to appear on the form. I am not getting any errors, but I also cannot step through the Razor code. I cannot figure out what I am missing.
This is where the cshtml is stored.
formElementViewsFolder="~/Views/Shared/ElementBlocks"
Does anyone have ideas on how to troubleshoot this and get it working?