Hi All,
I have a scenario where I will be over-riding the standard edit and view buttons on opportunity with the same lightning component.
Within this component, I need to identify whether Edit or View was clicked based on which I will display further UI.
I am stuck at this point as I am unable to find a way to check which standard button was clicked. Is it possible to identify the same? If yes how?
Regards,
Haider Naseem
1 comentario
@[Haider Naseem] We can achieve this using HTML-id to pass the id to the button and when clicked we can pass the value to the component.