Skip to content

Throw an exception if FormLayout autoResponsive APIs are used in responsiveSteps mode #8390

@rolfsmeds

Description

@rolfsmeds

Describe your motivation

Users (and AIs) can easily use FormLayout features exclusive to autoResponsive mode without having enabled autoResponsive mode, leading to a broken layout.

Describe the solution you'd like

Throw an exception if any autoResponsive-specific APIs are used without having autoResponsive enabled:

  • addFormRow
  • setLabelsAside
  • setColumnWidth
  • setExpandColumns
  • setExpandFields
  • setMaxColumns

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions