I want to get the value from this custom input .So I am passing setter function settypemail in onchange and my expectation is to get the input value in typemail variable when user enters something but I am getting undefined.