Skip to content

component does not assign value after selection #5970

@franciscojml

Description

@franciscojml

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I have a table with a series of data and I have enabled the advanced search feature. I am using the SearchTemplate feature to customize the search fields.

One of the search fields has a SelectTable component for selecting one of the values, however, when selecting a value, the select modal closes but the selected value does not appear in the text of the SelectTable component.

The text value only appears if I close the advanced search modal and open it again.

Attached is a video showing the problem.

Debugging the code, after selecting a value, the GetTextCallback function of the SelectTable component is not being executed.

Expected Behavior

When selecting a value in the SelectTable component, I want the text value to be displayed in the component.

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

Step 1: Click on the advanced search button
Step 2: Select one of the items from the select Managing Unit
Step 3: After selecting the item, the modal window closes and the text value of the selected item is not displayed
Step 4: I close the advanced search modal window
Step 5: I open the advanced search screen again and the text of the selected item appears

Image
Image
Image
Image
Image

Exceptions (if any)

No response

.NET Version

NET9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions