You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constcheckAction=reactive({label: 'Check',loading: false,onClick: async()=>{// how to chage loading status?checkAction.loading=true;awaitnewPromise<void>((resolve)=>{setTimeout(()=>{resolve();},1000);}).finally(()=>{checkAction.loading=false;});},});functiongetActions(record: Recordable){return[checkAction];}
Subject of the issue
Table action component doesn't render when actions prop is changed, but it works only if I change action#label.
Your environment
Steps to reproduce
Expected behaviour
The Check button should be loading status for one second when I click it.
Actual behaviour
The Check button doesn't react any behavior.
What happens instead?
But the label is changed, the PopConfirmButton will re-render and every thing will be okay.
So I thing that the problem is below, but not sure:
The text was updated successfully, but these errors were encountered: