Skip to content

use empty string instead of None as form errors key - #858

Merged
azmeuk merged 1 commit into
pallets-eco:mainfrom
azmeuk:issue-829-form-error-key
Oct 11, 2024
Merged

azmeuk merged 1 commit into
pallets-eco:mainfrom
azmeuk:issue-829-form-error-key

Conversation

@azmeuk

@azmeuk azmeuk commented Oct 11, 2024

Copy link
Copy Markdown
Member

Also, introduce a private _form_error_key variable to let users choose their own key.

fixes #829

@azmeuk
azmeuk merged commit be6161b into pallets-eco:main Oct 11, 2024
@azmeuk
azmeuk deleted the issue-829-form-error-key branch October 11, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Form field errors not JSON serializable with default Flask JSONProvider

1 participant