Closed (works as designed)
Project:
Relation Select
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2012 at 12:40 UTC
Updated:
25 Aug 2012 at 23:05 UTC
I have a use case where I want to alter the select form by creating a "Add" button. The callback for that button creates an entity and relation item but it doesn't create the item into the list in UI because I can't re-use the JS functions at all.
I'm stuck in this at the moment and I would like to get some help on this. How you think this should be done? Does the relation-select.js need a rewrite to do that?
Screenshot tells it all:

| Comment | File | Size | Author |
|---|
Comments
Comment #1
steveoliver commentediMiksu, If I understand you correctly, new rows are already added when you select up to the limit of endpoints possible for that relation. By looking at your screenshot, I imagine you have selected 3 items after Searching. Let me know if I missed something.