projects/congarevenuecloud/elements/src/lib/input-select/input-select.component.ts
This component is deprecated. Please use apt-input-field component, to get the picklist/multipicklist working. Input select component is used to create a single or multi select input. This input uses the angular ng-select third party component to create the picklists.
Please use apt-input-field component, to get the picklist/multipicklist working.
Input select component is used to create a single or multi select input. This input uses the angular ng-select third party component to create the picklists.
import { InputSelectModule } from '@congarevenuecloud/elements';
@NgModule({
imports: [InputSelectModule, ...]
})
export class AppModule {}
```typescript
<apt-input-select
[picklistType]="picklist"
[values]="picklistValues"
(onChange)="handleChange($event)"
></apt-input-select>
selector | apt-input-select |
styleUrls | ./input-select.component.scss |
templateUrl | ./input-select.component.html |
<ng-select
[multiple]="picklistType === 'multipicklist'"
[items]="values"
[(ngModel)]="modelValue"
[placeholder]="placeholder"
(change)="onChange.emit(modelValue)"
></ng-select>
./input-select.component.scss