@ng-holistic/ng-select

Simple wrapper around ng-select, intended to align look and feel plus some common behavior for ng-holistic.

Usage no npm install needed!

<script type="module">
  import ngHolisticNgSelect from 'https://cdn.skypack.dev/@ng-holistic/ng-select';
</script>

README

NgSelect

Simple wrapper around ng-select, intended to align look and feel plus some common behavior for ng-holistic.

use with @import "~@ng-select/ng-select/themes/default.theme.css";

Requires ng-select as peer dependency

You may want to add this field to you layout definition type

    export interface NgSelectField
        extends ClrFormFields.BaseField<
            'NgSelectField',
            string,
            {
                placeholder?: FormFields.FormFieldProp<any>;
                items?: FormFields.FormFieldProp<any>;
                typeaheadFun?: (term$: Observable<string>) => Observable<any[]>;
                multiple?: boolean;
                appendTo?: string;
                searchable?: boolean;
                dropdownPosition?: 'top';
                oneRow?: boolean;
            }
        > {}