Incorrect Bootstrap 5 class name used for select element when using @formio/js@5 and @formio/react@6

Open
#602 1 comment 0 reactions 1 assignee View on GitHub

@olgabann is already working on this.

Since Apr 30, 2025.

Assessment

This issue has not been assessed yet.

Description

Describe the bug
Form which includes a <select> is using the incorrect bootstrap class name which causes the ▼ to not appear at the right side of the <select>.

To Reproduce
Steps to reproduce the behavior:

  1. Author a form which includes a HTML 5 select element
  2. Render it with @formio/js@5 and @formio/react@6
  3. View the rendered select
  4. Note the ▼ is missing on the right side of the select

Expected behavior
Should render as shown here: https://getbootstrap.com/docs/5.3/forms/select/#default

Screenshots
<select> displaying the missing ▼

Image

<select> where I changed the class name to "form-select":

Image

Sandbox Example
n/a

Desktop (please complete the following information):

  • OS: macOS
  • Browser Firefox
  • Version latest
Dominant language
TypeScript
Stars
371
Forks
309
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from formio/react

All issues in formio/react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.