Add option to show or hide inline error.