Skip to content

Even if 'Try it out' is not clicked enum string values are enabled #5568

@leseb83

Description

@leseb83

Q&A (please complete the following information)

  • OS: Windows
  • Browser: Chrome
  • Version: latest
  • Method of installation: dist assets
  • Swagger-UI version: 3.23.6
  • Swagger/OpenAPI version: OpenAPI 3.0

Content & configuration

We have the following configuration for the 'sort' parameter:

in: query
name: sort
description: 'Desc'
schema:
    type: string
     default: name
     enum: [name,createDate,updateDate]

image

All other entries but enum string are disabled as expected.

Describe the bug you're encountering

Until you press the "Try it out' all fields are supposed to be disabled.

To reproduce...

See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions