Fix sandbox UI: add limits for inputs