Skip to content

Add optional title attribute to options? #273

@HankMcCoy

Description

@HankMcCoy

For my use case it would be nice to add an optional title attribute to select options. Theoretical example use:

<Select
  value="one"
  options={[
    {
      value: 'one',
      label: 'One',
      // Adds a title attribute to the option DOM element.
      title: 'The first element in this example list.'
    }
  ]}
/>

Is this something you folk would be open to? If so I'd be happy to work on a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions