Buttons dispatching events despite interactable & enabled = false

I set the button to interactable = false and enabled = false, yet it still continues to register hover, dispatch events on click, play click animations etc. in other words in operates exactly as it did before.
How do I disable the button component, but not other components on the node?

Hi, i am using the 1.4.2 version of cocos creator. When i set a button in code:myButton.interactable = false it continue working but the animation (scaling) is disabled. I have to do this to control if my button is interactable or not:

if (event.target.name === “myButton”)
if (event.target.getComponent(‘ItemExamen’).button.interactable === true)
{

}

It is a bug or this is how its works ?