Input dialogue exception handling when 'x' (closing) input dialogue

give a try at:

isNothing(creditSelected) OrElse String.IsNullOrEmpty(creditSelected.Trim)
1 Like