CityWebConsultants / Iris

Modular content management and web application framework built with Node.js and MongoDB
http://irisjs.org
Other
9 stars 7 forks source link

add support for custom url for field reference #356

Open facascante opened 7 years ago

FilipNest commented 7 years ago

Could you explain what this does and what it's used for? Looks interesting but don't quite get it.

adam-clarey commented 7 years ago

I had a ticket that has been slightly mis-interpreted. What this is currently doing is extending the entity reference so that instead of it being purely referencing entities, it allows you to set a custom url to return a list of items to use in the auto complete.

Having a generic autocomplete would be useful but i don't think it should be used in the context of entity references as that is a specific use-case.

This needs re-assessing before/if it gets merged.

FilipNest commented 7 years ago

A generic autocomplete field with various widgets for selecting the text that goes in it would be great. We already have a tags field type so could expand or branch off that. I'd recommend creating a widget that allows for either a manually listed item list or a url with a few other options where needed.