fix generation for multiple flag
Fix list generation for InputComponentGenerator