Clean input name gen in InputWidget & SwitchInput