Custom form elements views are not applied
Describe the bug Form elements view location "/Features/Shared/Views/ElementBlocks/{0}.cshtml" defined in FeatureViewLocationExpander is not being used.
To Reproduce
- Go to "Features\Shared\Views\ElementBlocks\TextboxElementBlock.cshtml"
- Add breakpoint anywhere or "TEST" text in
<label>tag. - Build and run the website.
- Create new with TextboxElementBlock and place it anywhere.
- Go to the page with the new form.
- Fom is rendered but custom view is not used. (no breakpoint hit, no sample text)
Expected behavior Views from location "/Features/Shared/Views/ElementBlocks/{0}.cshtml" defined in FeatureViewLocationExpander should be used.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows
- Browser: chrome
- Versions: CMS 12.7.0; Forms 5.1.0
Additional context Editing forms.config doesn't seem to work either. I assume it's episerver error.
This should be fixed via this change: https://github.com/episerver/Foundation/commit/c22324f2044ce2880c53c4323f04cdf1bc540e7f
Working as expected for me now:

@SHIFT969 - can you confirm it's now functioning correctly for you as well, and this can be closed?