Skip to content

Add suffix slot to <a-input-number>Β #8061

@rowanwins

Description

@rowanwins

What problem does this feature solve?

Currently <a-input> has a suffix slot, however <a-input-number/> does not, limiting more advanced layouts. The current addon-after prop has some opinionated styling which makes it less useful than the bare suffix slot.

Here is an example of the field layout I am making
Image

What does the proposed API look like?

API as per <a-input/>

<a-input-number>
  <template #suffix>
     <p>extra content</p>
  </template>
<a-input-number>

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