Skip to content

Conversation

hugo-t-b
Copy link

Allows a solution for #1397

What kind of change does this PR introduce?
Fixes an bug where a slash is not added to the user-provided value or default value of a button field (checkbox or radio), for instance making its value Yes instead of /Yes. This prevents it from displaying or functioning correctly in some readers. Even if the user sets the value to /Yes, it appears to be set as a String and not a Name, causing the same issue.

This PR ensures that the value and default value is set to a Name beginning with a slash.

Checklist:

  • Unit Tests
  • Documentation
  • Update CHANGELOG.md
  • Ready to be merged

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