Q&A (please complete the following information)
- OS: Linux Debian 13
- Browser: firefox
- Version: Zen 1.19.8b (Firefox 149.0.2)
- Method of installation: npm
- Swagger-UI version: 5.32.6
- Swagger/OpenAPI version: OpenAPI 3.1
Content & configuration
Example Swagger/OpenAPI definition:
openapi: 3.1.0
paths:
/hello:
post:
requestBody:
content:
application/x-www-form-urlencoded:
schema:
properties:
foo:
type: string
bar:
type: string
default: ""
baz:
type: string
default: ""
type: object
required:
- foo
required: true
Swagger-UI configuration options: defaults.
Describe the bug you're encountering
An ID conflict between the checkboxes is causing all their labels to only control one. (see screenshot)
To reproduce...
Steps to reproduce the behavior:
- Load the OpenAPI definition above
- Expand the
/hello endpoint
- Click 'Try it out'
- Click on one of the 'Send empty value' labels
- Click on the other label
- See that the same checkbox was toggled
Expected behavior
Each label controls the checkbox it is located next to.
Screenshots
Additional context or thoughts
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Swagger-UI configuration options: defaults.
Describe the bug you're encountering
An ID conflict between the checkboxes is causing all their labels to only control one. (see screenshot)
To reproduce...
Steps to reproduce the behavior:
/helloendpointExpected behavior
Each label controls the checkbox it is located next to.
Screenshots
Additional context or thoughts