Skip to content

input-props for Mention component #7125

@woodhull

Description

@woodhull

Clear and concise description of the problem

We would like to set the DOM id of the input element rendered by NMention so that we can correctly setup a label with the for attribute.

Suggested solution

Allow input-props to be passed to NMention, which would forward this onwards to the input it wraps.

Then we could do something like this:
:input-props="{id: 'mention-input'}"

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions