File

protocol-lwm2m/components/configuration/typed-forms/single-server-settings.component.ts

Extends

Lwm2mFormWrapperBase

Implements

OnInit

Metadata

Index

Properties
Methods

Constructor

constructor(service: Lwm2mConfigurationService<ServerSettings>)
Parameters :
Name Type Optional
service Lwm2mConfigurationService<ServerSettings> No

Methods

createForm
createForm()
Returns : {}
delete
delete()
Returns : void
Protected getFullURI
getFullURI()
Returns : any
ngOnInit
ngOnInit()
Returns : void
save
save()
Returns : void
ngOnDestroy
ngOnDestroy()
Returns : void

Properties

Protected alert
Type : AlertService
cancel
Default value : () => {...}
Protected endpoint
Type : LWM2MEndpoint
Default value : LWM2MEndpoint.servers
id
Type : string
buttons
Type : object
Default value : {}
Protected destroy$
Type : Subject<void>
Default value : new Subject()
fields
Type : FormlyFieldConfig[]
Default value : []
form
Default value : new FormGroup({})
model
Default value : {} as T
options
Type : FormlyFormOptions
Default value : { formState: { disabled: false } }
<formly-form
  *ngIf="fields?.length > 0; else empty"
  [model]="model"
  [form]="form"
  [fields]="fields"
  [options]="options"
  data-cy="lwm2m-device-configuration--formly-form"
></formly-form>
<ng-template #empty>
  <c8y-ui-empty-state
    [icon]="'c8y-device-protocols'"
    title="{{ 'No configuration selected' | translate }}"
    subtitle="{{ 'Select a configuration on the left' | translate }}"
  ></c8y-ui-empty-state>
</ng-template>

results matching ""

    No results matching ""