Disable toggle when click on input

Disable toggle when click on input

I have have a toogle function that is triggered when clicking a row, but when clicking on the input field inside the row I don't want the toggle function to react on that.

Is there a way I could make an exception for the toggle when clicking the input, or as an alternative on the cell holding the input?