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

In Forms, selecting a reference from a long list (1000+) is not working #1144

Open
1 of 2 tasks
nicolas-imbert opened this issue Aug 1, 2024 · 5 comments
Open
1 of 2 tasks
Labels
-UX/UI bug Something isn't working forms feedback for the forms feature gouv.fr needs design Improvements that need UI/UX design work

Comments

@nicolas-imbert
Copy link
Collaborator

Describe the current behavior

A bug occur when a user wants to fill a reference field in a form.
If the initial list of references is too long (aka more than a 1000 references), the user cannot select all references in the list.
Only about the first 1000s are shown.
Even when the user try to write the name to look for the reference, the autocompletion do not work.

In this example, there are about 2500 companies in the reference list, but in the form, only the first 1000 companies are shown.
Even if we try the autocompletion, the list is stuck at the letter G (and cannot find the T companies)
bug form reference

Steps to reproduce

  1. Create a database of 2000+ records
  2. Make a form with a reference of those 2000+ records
  3. Try to fill the form with record that are near the end of the 2000+ list
  4. You cannot select the last records of this list

Describe the expected behavior

The reference field should be able to show all record in the list.
Not only the first 1000 ones.

Where have you encountered this bug?

Instance information (when self-hosting only)

  • Grist instance:
    • Version: 1.1.16
    • ANCT self-hosted server
@fflorent fflorent added the bug Something isn't working label Aug 1, 2024
@diogo85
Copy link

diogo85 commented Aug 16, 2024

There's also a bug when using Reference List. It seems that only the first 30 entries are displayed, which limits the usability when dealing with larger datasets.

@nicolas-imbert
Copy link
Collaborator Author

nicolas-imbert commented Sep 3, 2024

Agreed @diogo85 !
I have just experienced the issue as well.

Reference List and Choice list are badly displayed in forms.
Only about 25-30 entries from the list are shown, with checkboxes.

Imo, it would be ideal to :

  • Have the choice to display your Reference List and Choice List as checkboxes (best for small volume of data) or as a dropdown list (best for big volume of data)
  • If the List option is chosen, just like the normal Reference, have a bar with prefill and auto-completion, and the possibility to add several references in the same field

@fflorent fflorent added the forms feedback for the forms feature label Sep 27, 2024
@vinyll
Copy link

vinyll commented Oct 31, 2024

Hey Nicolas, Do you plan to work on this?

@nicolas-imbert
Copy link
Collaborator Author

Hey Nicolas, Do you plan to work on this?

Hi Vincent, I've raised this issue to the developers today.
Lots of work are going on right now, will see if they got time to work on it in a short/mid term.

@lusebille lusebille added needs design Improvements that need UI/UX design work -UX/UI labels Dec 11, 2024
@lusebille lusebille moved this to Todo in Grist UI/UX Dec 11, 2024
@mathgim
Copy link

mathgim commented Feb 19, 2025

Hello,
Is there any updates on that bug please? As Grist usage expands, it becomes more and more important to have a functional form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-UX/UI bug Something isn't working forms feedback for the forms feature gouv.fr needs design Improvements that need UI/UX design work
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

6 participants