Changes between Version 1 and Version 2 of Ticket #20982, comment 6
- Timestamp:
- Oct 6, 2014, 4:26:21 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20982, comment 6
v1 v2 1 @timgraham. This is not the correct implementation. If you set required=False, then supplying an empty value will validate as will False. I understand that there could be a backwards compatibility issue here, which is fine. But it seems to me that this is almost definitely the wrong implementation.1 @timgraham. This is not the correct implementation. If you set required=False, then supplying an empty value will validate properly, which definitely undesirable. I understand that there could be a backwards compatibility issue here, which is fine. But it seems to me that this is almost definitely the wrong implementation.