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

class="form-control" #1033

Closed
e404r opened this issue Nov 25, 2023 · 1 comment
Closed

class="form-control" #1033

e404r opened this issue Nov 25, 2023 · 1 comment
Labels

Comments

@e404r
Copy link

e404r commented Nov 25, 2023

class="form-control". how to change default

@e404r e404r added the question label Nov 25, 2023
@travist
Copy link
Member

travist commented Jan 9, 2024

You will need to add a new template to the renderer using the Formio.use(...) method like so.

import { Formio } from '@angular/formio';
Formio.use({
  template: {...}
});

The contents of the template will be your custom template that overrides the classes of the rendered form. Please see https://help.form.io/developers/form-development/form-templates for examples on creating new templates.

@travist travist closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants