Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Browser DataList Not working in FluentSearch #3349

Closed
AathifMahir opened this issue Feb 13, 2025 · 1 comment · Fixed by #3354
Closed

fix: Browser DataList Not working in FluentSearch #3349

AathifMahir opened this issue Feb 13, 2025 · 1 comment · Fixed by #3354
Labels
bug A bug closed:done Work is finished

Comments

@AathifMahir
Copy link

🐛 Bug Report

Fluent Search DataList Feature Doesn't Seem to Working Because of the DataList Needed to be on Same Scope of Input Which Wasn't the case in this Scenario and we don't have way to Add Html DataList to FluentSearch Input Control Scope and inputwrapper div for this feature to function properly

💻 Repro or Code Sample

<datalist id="colors">
<option value="red"/>
<option value="green"/>
<option value="blue"/>
<option value="yellow"/>
</datalist>
<FluentSearch DataList="colors" />

💁 Possible Solution

Provide a Us a RenderFragment or Alternative where we can Add the datalist to Proper Scope where input is, in this case input is inside the inputWrapper div, therefore dataList should be appended inside the same div

🔦 Context

i have been working on a feature for Search Feature for DataGrid which Mainly Depends on this Feature as we tried POC with different Controls and Came to Conclusion using Datalist is Most Efficient and Performant Solution for our Use Case which Contains 1000+ Suggestions for Search

🌍 Your Environment

  • OS & Device: [Windows]
  • Browser [Google Chrome]
  • .NET and Fluent UI Blazor library Version [9.0.2 and 4.11.3]
@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Feb 13, 2025
@vnbaaij
Copy link
Collaborator

vnbaaij commented Feb 13, 2025

Fixed in next release

@vnbaaij vnbaaij added bug A bug closed:done Work is finished and removed triage New issue. Needs to be looked at labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug closed:done Work is finished
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants