fix editing value in fields using keyboard