Problem/Motivation

So there is a bug with this fields form display widget. When adding a new node for a content type that only has a single file field with its widget set to "PDF file with analysis" the files is not ajax uploaded and has to be POST/saved in order to see a live scan or edit the file links descriptions text. Where if were set to the drupal core "File" widget and your adding a new node, it would ajax upload the document and allow you to edit the description before hitting save. And further testing found if we add a second file field, one being set to "PDF file with analysis" and one to the generic "File" then the ajax uploading is somehow fixed, and people can set descriptions prior to hitting save.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#4 2025-10-15_09-59-23.gif1.72 MBnicholass
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nicholass created an issue. See original summary.

nicholass’s picture

Status: Active » Needs review
nicholass’s picture

StatusFileSize
new1.72 MB

demo
After this fix we now get the core ajax upload, along with our PDF checking feature.

bsim26’s picture

Status: Needs review » Reviewed & tested by the community

Issue appears to be solved, great work ☺️

nicholass’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.