microsoft / fast

The adaptive interface system for modern web experiences.
https://www.fast.design
Other
9.25k stars 590 forks source link

fix: picker attributes always true #6773

Closed scomea closed 3 months ago

scomea commented 1 year ago

Pull Request

šŸ“– Description

As described in https://github.com/microsoft/fast/issues/6311 picker's "filter-selected" and "filter-query" attributes were incorrectly configured and always ended up being true unless set via the prop.

This change resolves this issue by:

This change also fixes an issue where the "no options available" display wasn't always showing up:

image

When initialized with no options picker could open the menu without displaying the "no options available" message. This pr simplifies the mechanism that shows that to ensure it shows up when needed.

šŸŽ« Issues

closes https://github.com/microsoft/fast/issues/6311

āœ… Checklist

General

Component-specific