Skip to content

USWDS - Feature: Configurable text for usa-file-input #5666

@deebloo

Description

@deebloo

Is your feature request related to a problem? Please describe.

The current file input has hard coded text for "dragText" and "chooseText" this is not ideal for websites in multiple languages.

Describe the solution you'd like

I would like to override those values via data-* attributes when defining the component. There are a number of hard coded english strings other than the two mentioned

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions