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 and prefixes to text input component #1903

Closed
wants to merge 6 commits into from

Conversation

roshaanbajwa
Copy link
Contributor

Description

It would be good to have the ability to add prefixes / suffixes to the text input component, similar to the GOV.UK Design System (https://design-system.service.gov.uk/components/text-input#prefixes-and-suffixes).

There is a very common need for users to be able to enter information in things like pounds (£) or weight (kg) - or even to show the frequency of how often something happens e.g per week, month, year etc.

This ticket has been provisionally planned for the September Service Manual/Frontend releases.

Link to issues: nhsuk/nhsuk-service-manual-community-backlog#21 and nhsuk/nhsuk-service-manual-community-backlog#470

The frontend library work related to this PR is here: nhsuk/nhsuk-frontend#884

@sarawilcox
Copy link
Contributor

I need to review the content before we merge. And we need to hold off till the card component changes are released. I'll try and look at this next week after the card component release.

@roshaanbajwa
Copy link
Contributor Author

I need to review the content before we merge. And we need to hold off till the card component changes are released. I'll try and look at this next week after the card component release.

Thanks @sarawilcox

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

Successfully merging this pull request may close these issues.

2 participants