Skip to main content

bp-sdk-checkbox-input

Custom element hooks

NameDescription
bp-sdk-external-checkbox-inputdisables html

Classes

NameDescription
bp-sdk-checkbox__containerRoot div element
bp-sdk-checkbox__wrapperDiv element surrounding input and label
bp-sdk-checkbox__inputInput element
bp-sdk-checkbox__labelCheckbox element

Properties

PropertyAttributeDescriptionTypeDefault
answerIdanswer-idAnswer idstringundefined
answeredBySourceanswered-by-sourceSpecifically how the question was answered (ie. "ACORD 126")stringundefined
codecodeQuestion codestringundefined
errorTexterror_textError message to displaystringundefined
errors--Checkbox errorsstring[]undefined
fieldTypefield_typeField typestringundefined
helpTexthelp-textHelp textstringundefined
isCompletedis_completedIs answer in complete statebooleanfalse
isReadOnlyis-read-onlyWhen true, the field will be readonly. It will display only the label and value as plain text.booleanfalse
labellabelLabel to displaystringundefined
labelledBylabelled-byLabels that describe groupstringundefined
pristinepristineis pristinebooleantrue
questionIdquestion_idQuestion Idstringundefined
requiredrequiredIs requiredbooleanundefined
touchedtouchedIs touchedbooleanfalse
valuevalueQuestion valuebooleanundefined

Events

EventDescriptionType
valueUpdateCustomEvent<boolean>

Dependencies

Used by

Depends on

Graph

graph TD; bp-sdk-checkbox-input --> bp-sdk-errors-container bp-sdk-errors-container --> bp-sdk-errors bp-sdk-dynamic-input --> bp-sdk-checkbox-input style bp-sdk-checkbox-input fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS