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
- Create number field in an entry type
- Map a text value to the number field
- run feed
- go to entry and save
Additional info
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