Skip to content

Feature Request: Support for no client-side javascript #1178

@gareth-robinson

Description

@gareth-robinson

Hi there, we're using react-select in a project, but would like the option of degrading gracefully (or progressively enhancing, depending on your point of view) so that we still have a working select when there is no client-side javascript. Currently react-select just renders an unstyled and untyped input field in this case.

The aim would be that with some additional prop (e.g. allowNoClient) the select would render the currently hidden input as a and the componentDidMount method would set an additional state entry (e.g. hasClient). The render method would check both these values to determine how to render the input field. Use of this option may then only support a subset of the react-select functionality i.e. simple string options only, no async loading, but a developer would choose which was most important to them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/reviewedIssue has recently been reviewed (mid-2020)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions