Select value when using allowHtml
Hello! I'm using allowHtml on my selection with a relationship.
My issue is, since I'm rendering the options with the user avatar and name, The value passed is no longer the id that I need, but the whole Html used to render the options.
My question is how can I get just the value without the html please:
2 Replies
anybody has idea on thow to achieve this? i also need this functionality on my app.. would really appreciate if anybody could give us any idea on how to achieve this.
just tried. for me it seems to be working
in the authors code the avatar shouldn't even be shown
as he uses the native select
adding
native(false)
should fix problem
at least i think this worked for me