Adding custom inputs to widgets