Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: select list or autocomplete when prompted for parent page #17

Open
brylie opened this issue May 8, 2019 · 3 comments
Labels
type:Enhancement New feature or request

Comments

@brylie
Copy link

brylie commented May 8, 2019

Issue Summary

I have a custom content model inheriting from Page, and have created a custom Admin page:

Screenshot_20190508_224855

When clicking the "Add Contact" button, I am prompted to select a parent page:

Screenshot_20190508_224557

Since we expect to have dozens or hundreds of contacts, this list grow to be too long for a radio-select.

How can I configure this page to use an autocomplete or page select widget?

Steps to Reproduce

  1. create model inheriting from Page, allowing model to be child of self
  2. create Admin page for model
  3. add several instances of model
  4. visit custom admin page and click "Create " button
@loicteixeira
Copy link

You might want to have a look at Customising ChooseParentView. Please note though that support questions are better answered on Stack Overflow or Slack, see the Support page in the documentation. If you have further questions, please do not reply to this issue and use those channels linked.

I'll keep that issue open though because I think it could be addressed with better UI. Most of website will end up with a good number of pages which will make the radio buttons unusable.

@loicteixeira loicteixeira changed the title Select list or autocomplete when prompted for parent page? Feature request: select list or autocomplete when prompted for parent page Sep 29, 2019
@loicteixeira loicteixeira added the type:Enhancement New feature or request label Sep 29, 2019
@brylie
Copy link
Author

brylie commented Oct 2, 2019

I'll keep that issue open though because I think it could be addressed with better UI. Most of website will end up with a good number of pages which will make the radio buttons unusable.

Jep, there is a fine line between a support and feature request. Agreed that this would be a good core feature enhancement :-)

@jnns
Copy link

jnns commented Jul 20, 2022

We're running into the same problem right now. It's not only that the user experience is bad; we have so many pages that the page load times out.

I will have a look at customizing the ChooseParentView with wagtail-autocomplete.

@laymonage laymonage transferred this issue from wagtail/wagtail Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants