html-templates
html-templates copied to clipboard
Asterisks not shown for required fields
Self-asserted page v2.1.18 adds an asterisk for required fields. Using the Azure Blue template as a custom page, these are not shown.

Expected (as shown in non-custom page):

I encountered the same problem, but was able to fix it by adding the query parameter pageFlavor=oceanBlue to the URL specified in LoadUri.
I encountered the same problem, but was able to fix it by adding the query parameter
pageFlavor=oceanBlueto the URL specified inLoadUri.
When you say LoadUri, do you mean just adding it to the query string for the Custom Page URI?

Yes, that's right, LoadUri was talking about a custom policy, so never mind.
I was able to add this JavaScript to the custom page to get it to work as expected: $('input,textarea,select').filter('[aria-required]').after('*');