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

Govuk dropdown styling #93

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Govuk dropdown styling #93

wants to merge 2 commits into from

Conversation

chfoster
Copy link
Contributor

@chfoster chfoster commented Sep 18, 2024

Pull request overview

Update single-selection dropdowns to use shinygovstyle::select_input() for styling and accessibility purposes, close #80

Pull request checklist

Please check if your PR fulfills the following:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Tests have been run locally and are passing (shinytest2::test_app())
  • Code is styled according to tidyverse styling (checked locally with styler::style_dir() and lintr::lint_dir())

What is the current behaviour?

Current dropdowns use selectizeInput() as below
image

What is the new behaviour?

New dropdowns use shinyGovstyle::select_Input():

image

Anything else

NOTE there is still a remaining selectizeInput() that currently allows multiple selections, as there is no functionality for this yet in shinyGovstyle. We might want to create a new issue for this.

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.

Change dropdowns to use gov.uk styling
1 participant