HubSpot Ideas

Jake_Lett

Module Template Usage Snippet to Include All Options

It would be great if the developer tools provided verbose module template usage with all available options. When placing modules you may want to adjust the default values and having them baked into the snippet would speed up this process. Thank you for considering it.
 
Screen Shot 2020-10-22 at 9.36.39 AM.png
Usage Snippet Verbose Example
{% module 'site_search' path='@Hubspot/search_input',
label='Search',
content_types={
'website_pages': False,
'landing_pages': False,
'blog_posts': True,
'knowledge_articles': False
},
include_search_button=True,
placeholder='placeholder',
field_label='label'
no_wrapper=True %}
 
Or give the option to copy a verbose version and leave the minimal option as the default.