Allow attributes on inputWithPreview templates