Changes between Version 65 and Version 66 of S3/FilterForms


Ignore:
Timestamp:
05/14/21 13:09:47 (3 years ago)
Author:
Fran Boon
Comment:

Document hide_filter

Legend:

Unmodified
Added
Removed
Modified
  • S3/FilterForms

    v65 v66  
    217217                            filter_ajax_url = ajax_url,
    218218                            filter_formstyle = formstyle,
    219                             filter_submit = submit
    220                            )
     219                            filter_submit = submit,
     220                            hide_filter = hide_filter,
     221                            )
    221222}}}
    222223
     
    227228  ||filter_ajax_url||URL string||where to request updated filter options from||URL of the current call with /filter method||
    228229  ||filter_formstyle||Formstyle function||Alternative formstyle for the filter form||built-in formstyle||
    229   ||filter_submit||String||Label for the submit button or tupel of (label, class) to also specify a CSS class for the button||T("Search")||
     230  ||filter_submit||String||Label for the submit button or tuple of (label, class) to also specify a CSS class for the button||T("Search")||
     231  ||hide_filter||Boolean||Whether to show filter_widgets||True for Master, False for Components||
    230232
    231233  ''Note'': if formstyle returns a TR, a list of TRs or a TAG[""] of TRs, then the filter form will be rendered as a TABLE - otherwise as DIV.