Skip to content

FIX associate converter parameter labels with their controls - #2513

Merged
Roman Lutz (romanlutz) merged 2 commits into
microsoft:mainfrom
alireza-aminzadeh:fix/issue-2506-converter-param-labels
Sep 14, 2026
Merged

Roman Lutz (romanlutz) merged 2 commits into
microsoft:mainfrom
alireza-aminzadeh:fix/issue-2506-converter-param-labels

Conversation

@alireza-aminzadeh

@alireza-aminzadeh Alireza Aminzadeh (alireza-aminzadeh) commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #2506. Converter parameter fields now use Fluent Field so the visible name is the accessible name for text, boolean, choice, and file controls. Required, error, and type hint stay attached to the same field.

Tests and Documentation

  • Added ConverterParams.test.tsx role/name coverage for the four control variants.
  • npx jest src/components/Chat/ConverterPanel/ConverterParams.test.tsx src/components/Chat/ConverterPanel.test.tsx --no-coverage (53 passed)

@alireza-aminzadeh

Copy link
Copy Markdown
Contributor Author

Rebased onto the latest main to pick up the Scenario catalog changes (#2373) and resolved the resulting conflict in ConverterParams.tsx. The boolean parameter check now matches the widened Parameter.default type (string | string[] | null) that landed on main.

Verified locally:

  • tsc --noEmit – no errors
  • eslint . --ext ts,tsx --max-warnings 0 – no warnings
  • npx jest src/components/Chat/ConverterPanel/ConverterParams.test.tsx – 3/3 passed

Branch is up to date with main and mergeable. Ready for review.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue Sep 14, 2026
Merged via the queue into microsoft:main with commit 3ae576a Sep 14, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Converter parameter controls are not associated with their visible labels

3 participants