Bind to value
Pretty sure I already did an issue about that. Just don't know where, feel free to close if dup.
I need a way to bind the resource or/and the user to a value-xyz
on a sib-form
.
Two uses case, same behavior only change the entrypoint:
I want to add an User to the Circle's members list.
<sib-form
bind-user
nested-field='circles'
fields='circle.@id' // <- Also, this is ugly.
value-circle='???' // <- "bind-resource"
></sib-form>
I want to add a Circle to my User's circles list.
<sib-form
bind-resource
nested-field='circles'
fields='user.@id' // <- Also, this is ugly.
value-user='???' // <- "bind-user"
></sib-form>
Currently using a buggy workaround on Hubl. https://git.startinblox.com/applications/sib-app/blob/release/hubl/src/scripts/widget-extension.js
I'm facing a lot of race issues on the current workaround especially when in concurrence with resources refreshing. Didn't tried with core@beta.