Allow AmountSelectorWidget to consider None as an empty value.

Review Request #13867 — Created May 20, 2024 and submitted

Information

Djblets
release-5.x

Reviewers

AmountSelectorWidget's data normalization turned an input empty string
into a None value, but didn't do the same for an input None value.

This is a simple fix to support None values. Unit tests have been
updated to check for this.

Unit tests passed.

Verified this fixed an issue I encountered in a new usage of
AmountSelectorWidget.

Summary ID
Allow AmountSelectorWidget to consider None as an empty value.
`AmountSelectorWidget`'s data normalization turned an input empty string into a `None` value, but didn't do the same for an input `None` value. This is a simple fix to support `None` values. Unit tests have been updated to check for this.
501759f5aea9f861167c0290bb4ac09cf027eb7b
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.x (202a1b9)