dotnetcore / BootstrapBlazor

A set of enterprise-class UI components based on Bootstrap and Blazor
https://www.blazor.zone
Apache License 2.0
2.25k stars 292 forks source link

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

Open celadaris opened 5 hours ago

celadaris commented 5 hours ago

Is there an existing issue for this?

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

Project: ValidFormsBugTest.zip

Video Demonstration:

https://github.com/user-attachments/assets/b726dd1c-2a53-462b-8e9b-747a7f6399dd

Exceptions (if any)

No response

.NET Version

.net 8

Anything else?

No response

bb-auto[bot] commented 5 hours ago

@celadaris Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem.