Skip to content

bug(Tab): Validation tooltips appear when not supposed toΒ #4340

@celadaris

Description

@celadaris

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When alternating the tabs using <Tab IsOnlyRenderActiveTab="true">, sometimes i will see that the behavour of ShowAllInvalidResult="false" breaks, and the tooltips appear after calling Validate() on some of the ValidateForm's.

Expected Behavior

Tooltips should not appear after Validate() has been called, because the Validate() behaviour should be consistent with the value of ShowAllInvalidResult.

Interactive render mode

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

Steps To Reproduce

  • In the project i have a <Tab IsOnlyRenderActiveTab="true"> and in the first tab i have a child component with many ValidateForm that have the default behavour of ShowAllInvalidResult="false"

  • I also have a couple different kinds of inputs within the ValidateForm each binded to a [Required] string.

  • Within the OnAfterRender I want to Validate() each of the forms so that they validate when the child component initially loads.

Project:
ValidFormsBugTest.zip

Video Demonstration:

2024-09-22.13-26-07.mp4

Exceptions (if any)

No response

.NET Version

.net 8

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions