Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
rowanwins opened this issue Mar 11, 2025 · 0 comments
Open
1 task done

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

rowanwins opened this issue Mar 11, 2025 · 0 comments

Comments

@rowanwins
Copy link

rowanwins commented Mar 11, 2025

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant