react get input value without state