- Home
- Forum
- ASP.NET Core - EJ 2
- Issues with Dropdowns Exporting Options
Issues with Dropdowns Exporting Options
Good day,
Attachment: TestInputs_36ec4e1f.zip
In the past few days, we have been working with SyncFusion's PDF Viewer, which has greatly helped us with our business needs.
We have faced a slight issue with some of the fields embedded in our PDFs, and have noticed that most of them have to do with Dropdown lists that exist in our PDFs. Specifically, dropdowns which have labels and values that are different from each other won't work fully as expected.
I'm able to retrieve and save all document fields successfully, but here's an outline to illustrate our problem on the provided sample PDF:
- Load the empty Form to be filled using Load method in Controller.
- Select the values "Option 1" from the radio buttons (Input1), "Option Alpha" from the first Dropdown (Input3) and "Option Alex" from the second Dropdown (Input4) and submit the Form.
- Save the Form using ExportFormFields method in Controller.
The extracted JSON would be as expected: "{"Input1":"1","Input2":"Off","Input3":"1","Input4":"Option Alex"}" - Reload the PDF Viewer, load the Form again (as to simulate a new session interaction with the document) and retrieve the saved Form using ImportFormFields method in Controller.
- All inputs will be marked as expected with their corresponding values.
- Change radio button (Input1) to have "Option 2" selected.
- Save the Form again using ExportFormFields method in Controller.
The extracted JSON is now different from what is expected: "{"Input1":"2","Input2":"Off","Input3":"-","Input4":"Option Alex"}"
Input4 remains with its option selected (as it was expected, since it wasn't changed by the User, but Input3 loses its selected value and gets reset to the first item in its Dropdown.
Am I not allowed to use PDFs that have Dropdowns with values different than their labels? Am I missing any steps in between regarding form and data loading? Am I missing any other steps when submitting the form?
Thanks in advance for any support and guidance you can provide.
Attachment: TestInputs_36ec4e1f.zip
SIGN IN To post a reply.
7 Replies
1 reply marked as answer
VS
Vasugi Sivajothi
Syncfusion Team
April 9, 2021 06:28 PM UTC
Hi Radames,
Thanks for contacting Syncfusion support.
We were able to reproduce the reported issue with the provided document. We will analyze further on this and update you with more details on April 13, 2021.
Regards,
Vasugi
VS
Vasugi Sivajothi
Syncfusion Team
April 13, 2021 06:21 PM UTC
Hi Radames,
We confirmed that the reported issue a defect and fix will be included in 27, April 2021 weekly NuGet release. You can track the status using below link,
Regards,
Vasugi
RA
Radames Acosta
April 13, 2021 07:01 PM UTC
Thanks so much for all your help, Vasugi! Will be looking forward for the update with the necessary patches.
Not sure if I'm doing something wrong with the link you provided, but it shows up as "Access Denied - This private feedback is not associated with your account" even though I'm logged in.
Nevertheless, thanks again for your support!
VS
Vasugi Sivajothi
Syncfusion Team
April 14, 2021 01:33 PM UTC
Hi Radames,
We have enabled the access for the below bug report. Now you can tract the status of this reported bug from following feedback link,
As we said earlier, the fix for the respoted issue will be included on 27, April 2021 weekly NuGet release.
Please let us know if you need any further assistances in this.
Regards,
Vasugi
VS
Vasugi Sivajothi
Syncfusion Team
April 27, 2021 04:01 PM UTC
Hi Radames,
We have fixed the reported issue and the fix was included in our latest weekly NuGet release v19.1.0.58. Kindly upgrade to that version to get the issue resolved.
https://www.syncfusion.com/feedback/24254/exported-dropdown-field-values-are-incorrect-after-importing-and-exporting-form
Package links:
|
Blazor Client |
|
|
Blazor Sever |
|
|
Service side package |
ASP.NET Core :
ASP.NET MVC:
|
CDN links:
Regards,
Vasugi
Marked as answer
RA
Radames Acosta
May 27, 2021 07:15 PM UTC
Hey Vasugi,
I was able to upgrade to the latest version of your product and could thoroughly test the issues that were brought. All issues were fixed, and the exported JSON now outputs the correct field selection for any dropdowns that remained unchanged by the user.
Thanks much for your help to solve this issue!
VS
Vasugi Sivajothi
Syncfusion Team
May 28, 2021 10:32 AM UTC
Hi Radames,
Thank you for the update. We are glad to know that the issue was resolved.
Regards,
Vasugi
SIGN IN To post a reply.
- 7 Replies
- 2 Participants
- Marked answer
-
RA Radames Acosta
- Apr 8, 2021 03:56 PM UTC
- May 28, 2021 10:32 AM UTC