-
Notifications
You must be signed in to change notification settings - Fork 26
[Docs] Changing css class names #34
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
Comments
Looking at the code, it looks like you set these properties on
For example, it might look like the following if you're using TypeScript or ES modules: import 'ts-polyfill';
import { ValidationService } from 'aspnet-client-validation';
let v = new ValidationService();
v.ValidationInputCssClassName = 'my-input-error-class';
v.ValidationMessageCssClassName = 'my-field-error-class';
v.bootstrap(); Try it out and let me know if it works. I'll try it when I'm back home. |
Aaargh I was hoping to avoid all that complexity for a simple Razor Pages project. 😄 I just have a few uninteresting JS files in my |
Apparently it's possible to change the default css class names, so we could use this library with bootstrap (for example).
But I can't find mention in the README, and haven't been able to figure it out.
Does someone know how to use the feature?
The text was updated successfully, but these errors were encountered: