Convert Autocomplete to Lookup field on selection

2 posts, 0 answers
  1. Courtney
    Courtney avatar
    3 posts
    Member since:
    Jan 2012

    Posted 11 Apr 2015 Link to this post


    I'd like to use the Autocomplete control as a lookup field. For example you can type in the company name, autocomplete would select the match and as soon as it was selected the field would become a HTML link to the selected object.


    Eg. Typing ACME selects ACME Ltd.  After selection ACME Ltd. changes to a hyperlink to the company details page.


    Is this possible with the autocomplete control?

    Or would it be better to use the multi-select with a maximum item of 1?

  2. Alexander Popov
    Alexander Popov avatar
    1411 posts

    Posted 14 Apr 2015 Link to this post

    Hello Courtney,

    This behavior is not supported, however you can achieve similar results using a custom solution. For example you can subscribe to the Autocomplete's select event and once it is triggered - hide the entire widget and render the link in its place.

    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top