Home › Forums › Modern DFFS › Bug in lookup field
- This topic has 6 replies, 2 voices, and was last updated 2 weeks, 5 days ago by
Amal Vellappillil.
-
AuthorPosts
-
-
May 21, 2025 at 19:24 #38642
I ran into a bug with lookup fields when using DFFS.
Test Scenario (using 1.1.13.0)
——————————
– Created a test list
– Added lookup column (referencing another list)
– Added new item (using default form) – Everything was fine.
– Clicked on the item to view details (using default form) – Everything was fine.
– Edited the item (using default form) – Everything was fine.
– Installed DFFS for Display form
– Clicked on the item to view details (using dffs form) – It shows value in the lookup field. However, there is also an error message “Cannot read properties of undefined (reading ‘listId’)”I have attached a screenshot of the error with the dev console output.
Thank you for looking into this.
Attachments:
-
May 22, 2025 at 11:54 #38644
It looks like the screenshot is from Editform and not Displayform, but I’m not able to recreate the error.
Is this lookup field a standard lookup field created in list settings, or a specific “related items” lookup field from a site column?
Have you applied any filters on the lookup field in the DFFS configuration? – can you show me a screenshot of the “Field properties” panel?
Alexander
-
May 22, 2025 at 15:20 #38645
Alex, my apologies. The screenshot was of an edit form. However, this behavior happens in ALL forms. Fields are just regular lookup fields. I added another lookup field (Lookup2) from a different list and that doesnt seem to have an issue. From what it looks like I am only getting this error when i create lookup fields from a particular source list. Because of this error, I am not able to select any value in edit and new form with DFFS enabled.
What puzzles me is that this error does not show up in out of the box sharepoint form. And I am able to select values for this lookup field.
I have attached a gif and screenshot displaying this behavior. Let me know if you need additional data.
Attachments:
-
May 22, 2025 at 15:57 #38647
It looks like there is something off with this field – look at my attached field and compare with your (your screenshot if missing the list and field info).
Try creating a new lookup field to the same list and see if that works.
I have a hunch about what it could be: Did you maybe create the lookup field from the list view (by clicking Add column button?) and not by going to the list settings to add the field? – I think I saw something similar a while back where the field was missing some parameters or they were in a different format when creating the field from the list view.
Alexander
Attachments:
-
May 22, 2025 at 16:11 #38649
Alex, I think i have nailed down the source problem. This happens with any list used as a source. If the field that is selected to show value when you setup your lookup field is not “Title”, this error shows up. I tried selecting a field that is not “Title” for some other lists and found out that “Get information from” and “In this column” are blank in field properties in DFFS.
I tried selecting “Title” field for the list i had issue with initially and this time it worked. I hope I am making sense and you can hopefully recreate this at your end.
-
May 22, 2025 at 19:29 #38650
I have found and fixed the issue with the missing “Get information from” in the top of the field properties panel, but I’m not able to recreate the error you are experiencing.
Can you take a few screenshots and email them to me so I can try to replicate exactly the same setup as in your case (same field type and same viewfield selected in the “In this column” in list settings for that field).
Alexander
-
June 4, 2025 at 16:49 #38671
I can confirm this has been fixed with version v1.1.15.0
Thank you!
-
-
AuthorPosts
- You must be logged in to reply to this topic.