How to disable a USWDS component?

Created on 19 December 2023, 6 months ago
Updated 20 December 2023, 6 months ago

I am using USWDS as my base theme and using the webform module to create a form. My form includes a file input, but I don't want to use the USWDS file input component in my form. How can I disable it?

To reproduce my situation:

  • Install the USWDS theme.
  • Set the site's default theme to USWDS or to a sub-theme of USWDS.
  • Install the webform module and make a simple form with a file input element.

How do I prevent the above file input element from using the USWDS file input component?

Inevitably, there are cases when we want to use most, but not all, USWDS components.

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States arnoldbird

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024