Skip to main content

bp-sdk-driver-input-container

Custom element hooks

NameDescription
bp-sdk-external-driver-input-containerdisable html

Classes

NameDescription
bp-sdk-driver-input-container__containerRoot div element

Properties

PropertyAttributeDescriptionTypeDefault
answerIdanswer-idAnswer idstringundefined
answeredBySourceanswered-by-sourceSpecifically how the question was answered (ie. "ACORD 126")stringundefined
code (required)codeQuestion codestringundefined
driverLicenseStateAnswer--Driver license state answer injected by reduxIAnswerundefined
errorTexterror-textError textstringundefined
errors--Error messagesstring[][]
fieldTypefield-typeField typestring'text'
helpTexthelp-textHelp textstringundefined
isCompletedis-completedIs answer in complete statebooleanfalse
isEnabledis-enabledIs enabledbooleantrue
isReadOnlyis-read-onlyWhen true, the field will be readonly. It will display only the label and value as plain text.booleanfalse
labellabelLabelstringundefined
labelIdlabel-idAria label id's that describes input for screen readersstringundefined
labelledBylabelled-byLabels that describe groupstringundefined
maxmaxmaximum length of inputnumber-1
minminminimum length of inputnumber-1
patternpatternRegular expression pattern input should matchstringundefined
placeholderplaceholderPlaceholder to displaystring''
pristinepristineis pristinebooleantrue
questionGroupIdquestion-group-idQuestion group idstringundefined
questionIdquestion-idQuestion idstringundefined
questionPoolIdquestion-pool-idQuestion pool idstringundefined
referenceTypereference-typeReference typestringundefined
requiredrequiredIs question requiredbooleanfalse
texttextInitial text valuestringundefined
touchedtouchedis touchedbooleanfalse

Events

EventDescriptionType
fakeValueUpdateValue change eventCustomEvent<void>

Dependencies

Used by

Depends on

Graph

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

Built with StencilJS