systopia / de.systopia.mutualaid

Fight Corona by organising mutual aid in your neighbourhood with this CiviCRM Extension!
Other
8 stars 3 forks source link

Required select fields accept "- None -" etc. as valid option #21

Closed jensschuppe closed 4 years ago

jensschuppe commented 4 years ago

This produces errors like '0' is not a valid option for field county_id.

This applies to those fields:

The extension uses 0 as value for those "- None -" or "- Select -" options. Instead, the empty string '' should be used.

jensschuppe commented 4 years ago

Forgot to crosslink commit f304f4cebeebb0739d4f788c906980e9d16bd3c1

jensschuppe commented 4 years ago

Released with 1.0-beta2 and merged into master for the next 1.1.x release.

bjendres commented 4 years ago

Has also been released in 1.1.

@jensschuppe can we close this?

jensschuppe commented 4 years ago

Sure, that seems to work.