I think you should try cut and pasting the existing code, then modify it
to do what you want, and then come back with what you have.
I think you'll find that just adding an append mode is not enough.
TO make a good email-recipient control, you will need
- to change how and when the popup triggers
- probably to modify the data that gets appended, depending on what the
user has typed
- to modify the find criteria for the popup
- to add other characters like a separator between the addresses
So I don't think it's quite as simple as just adding another style to
SuggestionPopup.
But the beauty of open-source is that you can cut and paste the existing
code and modify it to do what you want :-)
On 2012-03-13 07:28, ccp999 wrote:
Hi,
How can I modify SuggestionPopup so that it attached selected texts to
append the end of existing texts in TextInput or replacing it?
I'm trying to implement a TextInput that act like a email recipient field.
So it allows adding more recipients to the end of the list and keep giving
the suggestion.
I have successfully implement the suggesting and selecting part, but since
current implementation of SuggestionPopup can only replace the whole
TextInput.
Brendan
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/SuggestionPopUp-for-email-recipients-list-tp3821421p3821421.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.