1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

add ng-select for templatable select options

- create select-tags component to replace ngx-chips
- create select-options to factorize option selection in forms
- create select-channel to simplify channel selection
- refactor tags validation
This commit is contained in:
Rigel Kent 2020-08-05 00:50:07 +02:00 committed by Chocobozzz
parent 766d13b447
commit 02c01341f4
36 changed files with 399 additions and 217 deletions

View file

@ -28,6 +28,9 @@ import { PreviewUploadComponent } from './preview-upload.component'
import { ReactiveFileComponent } from './reactive-file.component'
import { TextareaAutoResizeDirective } from './textarea-autoresize.directive'
import { TimestampInputComponent } from './timestamp-input.component'
import { SelectChannelComponent } from './select-channel.component'
import { SelectOptionsComponent } from './select-options.component'
import { SelectTagsComponent } from './select-tags.component'
@NgModule({
imports: [
@ -45,7 +48,10 @@ import { TimestampInputComponent } from './timestamp-input.component'
PreviewUploadComponent,
ReactiveFileComponent,
TextareaAutoResizeDirective,
TimestampInputComponent
TimestampInputComponent,
SelectChannelComponent,
SelectOptionsComponent,
SelectTagsComponent
],
exports: [
@ -58,7 +64,10 @@ import { TimestampInputComponent } from './timestamp-input.component'
PreviewUploadComponent,
ReactiveFileComponent,
TextareaAutoResizeDirective,
TimestampInputComponent
TimestampInputComponent,
SelectChannelComponent,
SelectOptionsComponent,
SelectTagsComponent
],
providers: [