This is a migrated thread and some comments may be shown as answers.

MultiSelect Tag Template selected value with comma separate in input field

4 Answers 782 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Suman
Top achievements
Rank 1
Suman asked on 26 Sep 2017, 08:01 AM

Hi,

MultiSelect Tag Template selected value with comma separate in input field.

Is it available in document? If not could you send sample code how to set selected value with comma separate.

Regards
Suman

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 27 Sep 2017, 03:05 PM
Hi Suman,

The MultiSelect cannot be configured to display selected items separated with comma. Such behavior is implemented for the AutoComplete widget. In the MultiSelect the selected items are displayed as tags. The mentioned tagTemplate option allows you to customize the content of the tags and cannot be used to remove the tag and display only the items text separated by commas. We would suggest logging your idea as a feature request in our Feedback Portal. If approved by the team, it will be implemented in a future release.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Suman
Top achievements
Rank 1
answered on 27 Sep 2017, 03:22 PM

In Multselect have autoclose configuration whereas Autocomplete does not have. :( Do you have any idea in AutoComplete which events to prevent for autoclose.

Thanks.

0
Accepted
Dimitar
Telerik team
answered on 29 Sep 2017, 07:09 AM
Hi,

Preventing the AutoComplete's close() event would keep the dropdown open:

<input id="autocomplete" />
<script>
$("#autocomplete").kendoAutoComplete({
  dataSource: [ "Apples", "Oranges" ],
  close: function(e) {
    // handle the event
    e.preventDefault()
  }
});
</script>


Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Suman
Top achievements
Rank 1
answered on 01 Oct 2017, 08:59 AM
Thanks. :)
Tags
MultiSelect
Asked by
Suman
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Suman
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or