Version: 2018.1
public bool wasCanceled ;

Description

If the InputField was canceled and will revert back to the original text upon DeactivateInputField.