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

[Feature Request]: Adding prefix or suffix to text inputs #15572

Open
1 task done
cate-wilcox opened this issue Jan 19, 2024 · 2 comments
Open
1 task done

[Feature Request]: Adding prefix or suffix to text inputs #15572

cate-wilcox opened this issue Jan 19, 2024 · 2 comments
Labels
component: text-input proposal: open This request has gone through triaging. We're determining whether we take this on or not. type: enhancement 💡

Comments

@cate-wilcox
Copy link

The problem

Today there is no way to specify a non-editable prefix or suffix for inputs like currency, scores, units of measure, etc., which are frequently used in forms. This often means either leaving that information out, adding it as additional information to the label, or including it as part of the editable input.

image

The solution

Allow for the ability to set prefixes or suffixes to inputs if required.

image
image

Examples

Design system examples

Application/PAL

watsonx Orchestrate

Business priority

Medium Priority = upcoming release but is not pressing

Available extra resources

Possible design support if needed. Unsure about dev support atm.

Code of Conduct

Copy link
Contributor

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

@sstrubberg
Copy link
Member

Concerns around padding with the suffix. How to programmatically capture the whole field. Best approaches around accessibility.

Lots of different teams asking about this enhancement.

@sstrubberg sstrubberg added component: text-input proposal: open This request has gone through triaging. We're determining whether we take this on or not. and removed status: needs triage 🕵️‍♀️ labels Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text-input proposal: open This request has gone through triaging. We're determining whether we take this on or not. type: enhancement 💡
Projects
Status: Later 🧊
Development

No branches or pull requests

2 participants