fluentui-blazor icon indicating copy to clipboard operation
fluentui-blazor copied to clipboard

feat: Make FluentSearch allow Generic Type arguments

Open Hona opened this issue 1 year ago • 1 comments

At the moment the fluent search box only allows string.

It would be nice if we could provide a generic value & customise display/search field.

Unsure if this goes against the library's philosophy.

Hona avatar Feb 27 '24 09:02 Hona

Not sure how a user would then input the generic info to search on. Do you have an example to illustrate the issue you are trying to solve with this?

vnbaaij avatar Feb 27 '24 11:02 vnbaaij

Honestly - it seems to be the FluentAutocomplete covers this behaviour. But I also then feel that FluentSearch is not needed because of this. What is the main difference?

Hona avatar Mar 05 '24 23:03 Hona

Fluent Search is just a simple wrapper of the same-named web component that does not offer the capabilities of the Autocomplete (which is native to the Blazor library).

Closing this issue then.

vnbaaij avatar Mar 06 '24 06:03 vnbaaij