New “Link” field type wrongfully imports
Description
The imported values of the new link field are not correct. FeedMe should probably have the option to select the "link type" that is imported for the specific field. Like Email or URL.
Steps to reproduce
- Use the new Link field type.
- Allow URL and Email in Allowed Link Types
- Try importing an url to the field
When imported the url field for example gives the following error:
And when focussing in the input field and leaving the field will make the input function correctly.
Email also imports wrong.
Additional info
- Craft version: 5.3.6
- PHP version: 8.3.10
I have the same issue under Craft 4.12.5
There is also the question of how to import LinkData into the field, like if the link is to an Entry or Asset. Seems like this functionality is just missing from Feedme?
I am also experiencing an issue. I have data being imported which includes an email and phone number, each going to a Link field, both of which are setup for the corresponding type. On the import it sets this to URL by default, which means the content is not imported.
It would be good to select the type, if not have better detection in the for content type.