I created an autocomplete component (input box with a search button). When the user types something in, a list appears below the input box with the results. This is all working fine, but when I use the component more than once on a given page, the results show up underneath both input boxes, not just the one I'm using. I believe this is because the search results themselves are being stored in a Fluxor store and when it changes blazor detects the change in that state variable and populates both lists. Is there a way to only show and update the list from the component the user is working with? Or do I need to create a list of results in my state store and pull out the appropriate one based on some key?
Blazor component used multiple times on a page is showing search result data in both components
104 Views Asked by erikrunia At
0
There are 0 best solutions below
Related Questions in BLAZOR
- How to store data related to a Blazor Server circuit?
- MatTooltip not working with MatAutocompleteList in Blazor
- Blazor - Prevent double HTTP call and wait first one
- Blazor Webassembly Authentication is verry slow
- Blazor WASM Hosted - How to download a file using HttpPost
- How do I set my RadzenTextBox to String.Empty if a toggle is clicked
- Blazor clear memory with IDisposable
- CascadedParameter: When is its value applied to my components property
- Blazor child to parent two-way binding on input-text field
- How to apply signalR.js in a Screen sharing html page
- In a Blazor page (Not a Blazor component) why all methods and variables are private inside @code?
- Blazor not discovering new pages in subfolders
- Blazor app with ASP.NET Identity UI shared layuout template
- Blazor get a reference to clicked element
- C# Blazor This works but I am getting errors
Related Questions in BLAZOR-COMPONENT
- Inserting abstract Blazor component, open-closed principle
- Blazor Component - How can I implement custom compile-time parameter validation?
- Blazor passing columnname parameter to component and second parameter in component
- Blazor component used multiple times on a page is showing search result data in both components
- Blazor Server app - JS Interop call within a reusable component not working when multiple components on screen
- How to render Blazor component with RenderFragment Parameter from Razor Page
- Blazor component: change classes based on number of children
- Custom Excel like Select Filter for Blazor Table
- NET8 Blazor components and render mode
- Blazor - Passing a function to dynamic component
- Custom Blazor Server Component Not Invoking the OnClick Function
- Blazor is setting component parameter every time I interact with component
- Blazor templated component to render a form with different context
- When to have more than one root components in Blazor?
- Razor component - Load and display data asynchronously
Related Questions in FLUXOR
- Blazor server-side Fluxor Dispatch Action on Browser tab close
- Blazor component used multiple times on a page is showing search result data in both components
- Filter Fluxor-state in Blazor
- Fluxor breaks ErrorBoundary in Blazor Wasm
- How to guard against double trigger of async method in Blazor wasm
- Fluxor Blazor error on assembly scanning and registration
- Where is state stored in fluxor?
- Options for State Management in Blazor
- Blazor State with using Fluxor: ActionSubscriber or SubscribeToAction what is better to use?
- Testing with bUnit and Moq a razor component that uses Fluxor
- Blazor with Fluxor: Can i have multiple instances of the same store?
- StateSubscriber.Subscribe was not disposed
- How do we await the result of an Action/Effect in an ItemProviderDelegate?
- How do I implement a Selector in Fluxor?
- Injecting in to class inheriting from RevalidatingServerAuthenticationStateProvider
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?