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
When a text value is mapped to a number field, e.g. 100 USD, the 'USD' is still kept in the number field in the entry. Then if you save the entry it will give you an error that you cant save because the field contains letters.
I suggest adding a simple |number_format() filter to the mapping step for number fields to automatically format the value. or maybe add a formatting option in plugin feed settings.
Steps to reproduce
Create number field in an entry type
Map a text value to the number field
run feed
go to entry and save
Additional info
Craft version: 5.5
The text was updated successfully, but these errors were encountered:
Description
When a text value is mapped to a number field, e.g. 100 USD, the 'USD' is still kept in the number field in the entry. Then if you save the entry it will give you an error that you cant save because the field contains letters.
I suggest adding a simple
|number_format()
filter to the mapping step for number fields to automatically format the value. or maybe add a formatting option in plugin feed settings.Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: