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

Asterisks not shown for required fields #15

Open
tylersand opened this issue Feb 21, 2023 · 4 comments
Open

Asterisks not shown for required fields #15

tylersand opened this issue Feb 21, 2023 · 4 comments

Comments

@tylersand
Copy link

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.

image

Expected (as shown in non-custom page):
image

@shibayan
Copy link

shibayan commented Apr 7, 2023

I encountered the same problem, but was able to fix it by adding the query parameter pageFlavor=oceanBlue to the URL specified in LoadUri.

@tylersand
Copy link
Author

I encountered the same problem, but was able to fix it by adding the query parameter pageFlavor=oceanBlue to the URL specified in LoadUri.

When you say LoadUri, do you mean just adding it to the query string for the Custom Page URI?
image

@shibayan
Copy link

Yes, that's right, LoadUri was talking about a custom policy, so never mind.

@tylersand
Copy link
Author

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('*');

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