Skip to main content

CheckboxFormElement

Hierarchy

Index

Constructors

constructor

Properties

optionalauto_increment

auto_increment?: boolean

checkboxLabel

checkboxLabel: string

checkboxValue

checkboxValue: string

db_type

db_type: string

domElements

domElements: { edit?: HTMLElement; main?: HTMLElement }

Type declaration

  • [key string]: HTMLElement
  • optionaledit?: HTMLElement
  • optionalmain?: HTMLElement

editMode

editMode: boolean

events

events: Events

external

external: {}

Type declaration

  • [key string]: any

filtersMode

filtersMode: boolean

formBuilder

formBuilder: FormBuilder

optionalhelp

help?: string

optionalhiddenOnTable

hiddenOnTable?: boolean

inputs

inputs: { checkbox: HTMLInputElement; switch: HTMLInputElement }

Type declaration

  • checkbox: HTMLInputElement
  • switch: HTMLInputElement

label

label: string

mapIsGeo

mapIsGeo: boolean

name

name: string

nameChanged

nameChanged: boolean

namespace

namespace: string

optionalnot_null

not_null?: boolean

optionaloptions

options?: any[]

optionaloptionsDict

optionsDict?: {}

Type declaration

  • [key string]: any

optionalparameterName

parameterName?: string

optionalparameterNameShort

parameterNameShort?: string

optionalplaceholder

placeholder?: string

optionalprotected

protected?: boolean

optionalreadonly

readonly?: boolean

optionalrenamable

renamable?: boolean

optionalsearchable

searchable?: boolean

showAsSwitch

showAsSwitch: boolean

optionalshowIf

showIf?: Record<string, any>

templates

templates: { edit?: (data: Record<string, any>) => string; main?: (data: Record<string, any>) => string }

Type declaration

  • [key string]: (data: Record<string, any>) => string
  • optionaledit?: (data: Record<string, any>) => string
      • (data: Record<string, any>): string
      • Parameters

        • data: Record<string, any>

        Returns string

  • optionalmain?: (data: Record<string, any>) => string
      • (data: Record<string, any>): string
      • Parameters

        • data: Record<string, any>

        Returns string

type

type: string

value

value: any

optionalvisible

visible?: boolean

Methods

addSelect2

  • addSelect2(): void
  • Returns void

destroy

  • destroy(): void
  • Returns void

destroyEditor

  • destroyEditor(): void
  • Returns void

getData

  • getData(): { name: string; value: any }
  • Returns { name: string; value: any }

    • name: string
    • value: any

getDataForTemplate

  • getDataForTemplate(): {}
  • Returns {}

    • [key string]: any

getEditor

  • getEditor(): HTMLElement
  • Returns HTMLElement

getSchema

  • getSchema(): {}
  • Returns {}

    • [p string]: any

getSchemaFieldOptionsList

  • getSchemaFieldOptionsList(): any[]
  • Returns any[]

getValue

  • getValue(): any
  • Returns any

hide

  • hide(): void
  • Returns void

init

  • init(): void
  • Returns void

initEditor

  • initEditor(): void
  • Returns void

redraw

  • redraw(): void
  • Returns void

redrawEditor

  • redrawEditor(): void
  • Returns void

setDomElements

  • setDomElements(): void
  • Returns void

setEditorEventHandlers

  • setEditorEventHandlers(): void
  • Returns void

setEventHandlers

  • setEventHandlers(): void
  • Returns void

setExternal

  • setExternal(params: any): void
  • Parameters

    • params: any

    Returns void

setInputValue

  • setInputValue(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setOptions

  • setOptions(options?: any[]): any[]
  • Parameters

    • optionaloptions: any[]

    Returns any[]

setValue

  • setValue(value: any, updateInput?: boolean): void
  • Parameters

    • value: any
    • updateInput: boolean = true

    Returns void

show

  • show(): void
  • Returns void

triggerChanged

  • triggerChanged(): void
  • Returns void

update

  • update(prop: any, value: any): void
  • Parameters

    • prop: any
    • value: any

    Returns void