You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
For the number field default values are stored as integers while entered values are stored as strings. Obviously this isn't good for graphql.
I've brought the bug to the attention of the ACF team and they have a fix on their to-do list.
For now Elliot suggested using a number filter to typecast all number fields as INT.
For the number field default values are stored as integers while entered values are stored as strings. Obviously this isn't good for graphql.
I've brought the bug to the attention of the ACF team and they have a fix on their to-do list.
For now Elliot suggested using a number filter to typecast all number fields as INT.
Elliot replied
-- | --
Hi Tyler
Thanks for the reply.
Yeah, you can use the "acf/format_value/type=number" filter to customize the value returned for the number field.
https://www.advancedcustomfields.com/resources/acf-format_value/
Thanks,
Elliot
[email protected]
The text was updated successfully, but these errors were encountered: