Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

fix(empty form field): allows empty form field when submit through admin#1

Open
rodrperezi wants to merge 1 commit intoORTHOIN3D:mainfrom
rodrperezi:fix-empty-form-field
Open

fix(empty form field): allows empty form field when submit through admin#1
rodrperezi wants to merge 1 commit intoORTHOIN3D:mainfrom
rodrperezi:fix-empty-form-field

Conversation

@rodrperezi
Copy link

  • when editting a model with NDArrayField blank or null True through the admin panel, the form sends an empty str which was marked as invalid.
  • Now field validation allows handling that case by treating value as None

- when editting a model with NDArrayField blank or null True through the admin panel,
the form sends an empty str which was marked as invalid.
- Now field validation allows handling that case by treating value as None
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant