Skip to content

feat: Proposal - Multi-Select Component #4026

@iwint

Description

@iwint

Summary:

I propose the addition of a multi-select component to React Native Paper. This component would allow users to select multiple items from a list, making it a valuable addition to the library's existing set of UI components.

Feature Details:

1. Component Features:

  • Ability to select multiple items from a list.
  • Search functionality to quickly find and select items.
  • Customizable styles to match various app designs.
  • Support for rendering complex content within each selectable item.

2. Use Cases:

  • Multi-select lists for filtering content.
  • Tagging functionality where users can select multiple tags.
  • Group selection, such as choosing multiple options in a settings menu.

3.API and Props:

  • items: An array of items to be displayed in the multi-select list.
  • selectedItems: An array of selected items.
  • onSelect: A callback function triggered when an item is selected or deselected.
  • searchable: A boolean flag indicating whether the search functionality should be enabled.

4.Prototype:

image

5.Benefits:

  • Provides a user-friendly way to select multiple items.
  • Enhances the usability of apps built with React Native Paper.
  • Aligns with the library's philosophy of providing high-quality UI components.

Contributor Information:

I'm excited to contribute this multi-select component to React Native Paper. I believe it will be a valuable addition and enhance the library's capabilities. Looking forward to receiving feedback from the community and maintainers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions