Skip to content

DBCustomSelect: no-validation not working #5805

@biancavo

Description

@biancavo

Which generators are affected?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

The styling for valid input is shown despite we are setting validation='no-validation' on DBCustomSelect.

Image

The selector seems to be wrong because it checks data-custom-validity on select element instead of .db-custom-select.

Expected Behaviour

When setting validation='no-validation' there should be no styling for valid/invalid states.

The validation prop should overwrite the :user-valid selector (see https://design-system.deutschebahn.com/core-web/version/v4.2.6/components/data-input/custom-select/properties)

Screenshots

No response

Browser version

None

Add any other context about the problem here.

We currently use v.4.2.6

Which DB business unit do you work for?

DB Fernverkehr AG

”DB Systel” please enter your customer / ”other” please enter your area or business unit.

No response

What project are you working on?

RiFF

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions