pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Empty numeric fields not possible - forces 0 #7110

Open martin-roessler opened 1 year ago

martin-roessler commented 1 year ago

Description

Hey, it seems to be #6226 bug is back for Plain Number/Currency.

I've test it with an field that was prefilled because of duplicating the page, but when emptying the field, its always "0".

Version

2.9.18

Testing Instructions

No response

Screenshots / Screencast

pods_numeric_bug

Possible Workaround

No response

Site Health Information

No response

Pods Package

No response

JoryHogeveen commented 1 year ago

Hi @martin-roessler Could you double-check your field settings and see if this field is allowed to be empty?

martin-roessler commented 1 year ago

Hi @JoryHogeveen you mean the Required-Checkbox on Field Options Tab? Yes, this box was unchecked.

acjohnson08 commented 10 months ago

@JoryHogeveen, one of my users reported this behavior in Pods 3.0.8. Happy to provide access to my development site or provide any other information that may help with providing a fix for this.