Error Indicator Active but won't disappear

I am writing a web page with Vadding 7. However, I found for some component, e.g. Button. If it got a error in background ,it will show Error Indicator !. And it will not disappear even the next click on this button already return successfull result in the same papge. Any way to make it disappear if next action already be success?

Hey, did you start your application with productionMode=false?

In any case you should be able to clear the error with button.setComponentError(null);

They don’t clear by themselves, you need to call setComponentError(null).