fix click the input cancel the edit process