We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d3328b9 + eb7e96c commit 2c0fe14Copy full SHA for 2c0fe14
BulkPDFCore/PDFFiller.cs
@@ -24,7 +24,7 @@ public static void CreateFiles(PDF pdf, bool finalize, IDataSource dataSource, D
24
{
25
if (pdfFields[field].UseValueFromDataSource)
26
27
- var value = dataSource.GetField(dataSource.Columns.FindIndex(x => x.StartsWith(pdfFields[field].DataSourceValue)) + 1);
+ var value = dataSource.GetField(dataSource.Columns.FindIndex(x => x == pdfFields[field].DataSourceValue) + 1);
28
pdf.SetFieldValue(field, value, pdfFields[field].MakeReadOnly);
29
}
30
0 commit comments