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

Workaround date picker in date form field #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mutumbakato
Copy link
Collaborator

@mutumbakato mutumbakato commented Mar 17, 2025

Date Form field picker workaround

The original issue was that the Android code only checked for a specific action in the formfields to recognize if it’s a date or time field. Turned out that the test document doesn’t have this specfic action set but a different one. Our upcoming patch release will fix this and check for the other action too.

We added a helper class that migrates the formfieds so the SDK recognizes date/time fields correctly (without the patch).
It just needs to be called from the onDocumentLoadedCallback like this:
FormFieldMigrationHelper.migrateFieldFormatActions(document).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant