How to detach click event in text field

I have an input type text defined as: “view: ‘text’, label: 'myLable, id: ‘myId’, click:‘myFunction’”, click function works fine, but i tried to detach click event and i was not able, i tried this options:
$$(‘myId’).click = “”;
$$(‘myId’).detachEvent(“click”);
$$(‘myId’).detachEvent(“onClick”);

and even:
$$(‘myId’).blockEvent();

to block all events, but any of that seems to work, how can i detach this event?

Thanks

Any options defined in the initial config accessible as

comp.config.property_name

so you can use

$$(‘myId’).config.click = “”;

It works thanks