Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.
maxSS edited this page Sep 13, 2019 · 10 revisions
import { JamSelectModule } from 'ngx-jsonapi-material';

Selector: jam-select

Properties
Name Value type Required Description
@Input() multiple boolean false
@Input() parentId string false
@Input() toRelate Resource | null true
@Input() placeholder string false
@Input() displayAttribute string true
@Input() collection DocumentCollection<Resource> true
@Input() removeRelationships boolean false
@Input() disabled boolean false
@Input() limit number false
@Output() toRelateChange EventEmitter<Resource | null> false

Simple select

<jam-select
    displayAttribute="name"
    [collection]="categories"
    [(toRelate)]="productResource.relationships.categories.data"
></jam-select>
Clone this wiki locally