-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Describe the bug
I have a field set to the number widget where it's taking an initially set integer value but saving it as a string.
To Reproduce
config.yml
collections:
- name: product
label: Products
extension: yml
format: yml
fields:
- name: price
label: price
widget: number
valueType: int
default: 0
document.yml
price: 264
After changing the product price to 265
through Netlify CMS, the updated document looks like:
price: '265'
Expected behavior
Save output as integer
Applicable Versions: