make available leftoverText on a onchange callback and in case of validation