Adds spinner attribute, and input/form params in callbacks