wagtail / wagtail-generic-chooser

A toolkit for custom chooser popups in Wagtail
BSD 3-Clause "New" or "Revised" License
116 stars 25 forks source link

Feature request - ability for 'static' or fixed URL params based on widget kwargs #36

Open lb- opened 3 years ago

lb- commented 3 years ago

Example Use Case

Idea - LinkedField with a static value

PersonChooser(linked_fields={
    'country': {'static': 'AU'}
})

Idea - Handling arbitrary widget attrs that generate URL params

lb- commented 2 years ago

Another similar question, wanting a way to filter documents that are .csv easily with a specific instance of a DocumentChooserBlock https://stackoverflow.com/questions/69413317/is-there-a-way-to-filter-the-document-chooser-when-its-opened-from-a-particular