MultiSelect Component

The Multiselect Component provides the user with a list of options where the user can select one or more options. The properties of the MultiSelect Component are listed below.

Components

Description

Template Mode Component The number of selected items can be accessed using {0} in the value of the selectedItemsLabel property.
Elipsis Mode Component The ellipsis mode can be enabled explicitly by setting the selectedItemsLabel property to “ellipsis”.
Chips Display Component default the selected options are displayed in plain text separated with a comma. To enable the chips display mode, the display property can be set to “chip”.
Grouped Component The grouping of the MultiSelect option allows us to group similar options together which helps users to find the relevant option quickly and betters the user experience.
Advanced with Templating and Filtering Component MultiSelect Component can be used to select multiple values from the menu. The Templating Component is mainly used to provide a template and the Filtering Component is used to filter the options from the given list.
Virtual Scrolling Component VirtualScrolling is an effective method for rendering the options. To avoid performance issues when dealing with a large number of options, VirtualScrolling should be enabled.
Value Binding Component The value of an option in MultiSelect is bounded to the model itself but we can use the optionValue property of Multiselect to pass the custom value for the options.
Disabled Options Component The individual options of the MultiSelect component can be displayed by passing a boolean property of the options object as the value of the optionDisabled property.
Model Driven Forms Component for selecting multiple items we use multiselect 
 
Custom Content Component Define an ng-template named item whose local ng-template variable identifies an option in the options collection for custom content support when displaying options.
Animation Configuration Component We can pass the animation configuration to the showTransitionOptions and hideTransitionOptions properties. 
 
Selected Items Label Component This can be changed by specifying a template string using the selectedItemsLabel property where the number of selected items can be accessed using {0} in the template.
Properties Component The Multiselect component is used to provide the user with a list of options where one or more than one options can be selected by the user. The properties of the MultiSelect Component are listed below.
Events Component The Form MultiSelect Component allows users to select multiple options from the set of provided options.
Templates Component The MultiSelect Component is used to select multiple values from the menu. There are various templates provided by the Angular PrimeNG Form, in order to organize in a structured way & can be grouped, in order to categorize the form.
Styling Component There are 9 structural styling classes of the Multiselect component which can be used to customize the style according to one’s needs.

Angular PrimeNG Form Complete Reference

Angular PrimeNG Form facilitates the various input components for taking the input field & validating, which helps to design a responsive form for a single-page-application, that enhances the user experience, along with increasing the user interactivity in the Web application.

There are various components that are provided by the Angular PrimeNG Form, which are listed below with their brief description.

Similar Reads

AutoComplete Component

The AutoComplete Component in Angular PrimeNG facilitates real-time suggestions while the user is typing in the input component....

Calendar Component

The Calendar Component can be used to display a month-wise calendar that allows the user to select dates and move to the next or previous month....

CascadeSelect Component

The CascadeSelect Component is used to display a nested structure of options. It is like a Dropdown component where the items have their nested items which the user can select....

Checkbox Component

The Checkbox Component is an extension to the standard checkbox element with theming....

Chips Component

The Chips Component can be utilized to include the multiple values on an input field....

ColorPicker Component

The ColorPicker Component can be used to make a component in which users can select colors....

Dropdown Component

The Dropdown Component can be used to make to choose the objects from the given list of items....

Editor Component

The Form Editor is a Quill-based rich text editor component. There are various components provided by Angular PrimeNG, which are described below....

FloatLabel Component

FloatLabel component is the floating label that can be used on the input component....

InputGroup Component

InputGroup component allows a user to input content....

InputMask Component

InputMask component allows a user to input value in a certain format which includes numeric, date, currency and phone....

InputSwitch Component

The InputSwitch Component is used to take a boolean input from the user. It has two states, on and off. It can be turned on initially by binding its value with a boolean variable set to true. There is only one event associated with the InputSwitch component which is given below....

Inputtext Component

The Inputtext Component is an element that is used to make a text field with multi-line input support....

InputTextarea Component

The InputTextarea Component is an element that is used to make a text field with multi-line input support....

InputNumber Component

An InputNumber Component allows a user to input content as a numerical value. All the components are given below ....

Invalid State Component

The Invalid State Component can be used to show an invalid state style in the form module. When the class is set to invalid, it will provide the style for the input element as invalid....

Form Knob Component

The Knob component is a form component that is used to define a dialer type knob that contains labels and some data values....

KeyFilter Component

The KeyFilter component can used to set the data type that is to be used for an input field. It also filters other data types from the entered data types....

Listbox Component

The ListBox component can be used to make a list component from which we can select one or more items and can also be discarded if the item is not required by unchecking in the list....

MultiSelect Component

The Multiselect Component provides the user with a list of options where the user can select one or more options. The properties of the MultiSelect Component are listed below....

Password Component

The Password Component can be used to represent the strength indicator for the password fields....

RadioButton Component

The RadioButton Component allows the user to select one option at a time from a set....

Rating Component

The Rating Component can be used to represents the rating given by the user....

Slider Component

The Slider Component can be utilized as an input field having numeric values with a drag handle....

SelectButton Component

The SelectButton Components can be used to make a group of buttons from which the user can select a value....

ToggleButton Component

The ToggleButton Component can be used to make a button that users can toggle by clicking on it...

TreeSelect Component

The TreeSelect Component allows the users to select items from hierarchical data....

TriCheckbox Component

The TriCheckbox Component allows a user to make a checkbox with three states ie, true, false & null conditions....

Contact Us