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

Persisntance of input field values without property attributes for pdf exports #152

Closed
tojkuv opened this issue Dec 2, 2023 · 7 comments
Labels
feature request New feature or request

Comments

@tojkuv
Copy link

tojkuv commented Dec 2, 2023

Is your feature request related to a problem? Please describe.
Exporting to pdf exports the selective fields empty (ex. time input field).

Describe the solution you'd like
It would be great to have the values export to pdf.

Additional context
Screenshot from 2023-12-02 14-45-22

@tojkuv tojkuv added the feature request New feature or request label Dec 2, 2023
@mProjectsCode
Copy link
Owner

I have no idea how the PDF export works. I would expect all input fields to display their default values, and the date picker simply defaults to the current date.

@tojkuv
Copy link
Author

tojkuv commented Dec 2, 2023

The pdf export is using the default values. This can be seen by changing the default values and exporting to pdf.

Something like this works:
INPUT[time(defaultValue(#time0001)):time0001]

Could there be a more robust implementation into the plugin to not use this workaround? It can get repetitive if one uses many temporary input fields in cases like tasks management, for instance, where one wishes to be able to export the tasks file as a pdf file for sharing reports.

@mProjectsCode
Copy link
Owner

so you want input fields to display the correct values (not the default values) in the exported PDF?
Or what are you asking for?

@tojkuv
Copy link
Author

tojkuv commented Dec 2, 2023

Yes. The selected values export as long as there is a properties attribute for it defined. In cases where there is no unique properties attribute defined, the exporter uses the default value. I don't really know how this could be changed without knowing how pdf export works.

Is there a way to pass data to the pdf exported about the selected input fields?

@mProjectsCode
Copy link
Owner

Yes. The selected values export as long as there is a properties attribute for it defined. In cases where there is no unique properties attribute defined, the exporter uses the default value. I don't really know how this could be changed without knowing how pdf export works.

sounds like the plugin works as intended.

Is there a way to pass data to the pdf exported about the selected input fields?

what do you mean with selected input fields?

@tojkuv
Copy link
Author

tojkuv commented Dec 3, 2023

The values also disappears if one moves the cursor over the input field code block.

@tojkuv tojkuv changed the title Export to PDF selective fields Persisntance of input fields without property attributes Dec 3, 2023
@tojkuv tojkuv changed the title Persisntance of input fields without property attributes Persisntance of input field values without property attributes Dec 3, 2023
@tojkuv tojkuv changed the title Persisntance of input field values without property attributes Persisntance of input field values without property attributes for pdf exports Dec 3, 2023
@mProjectsCode
Copy link
Owner

Unbound input fields can not persist their data, as they have nowhere to store it.

@tojkuv tojkuv closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants