Skip to main content

bp-sdk-text-input

Custom element hooks

NameDescription
bp-sdk-external-text-inputdisables html

Classes

NameDescription
bp-sdk-text__containerRoot div element
bp-sdk-text__inputInput element
bp-sdk-text__labelLabel element

Properties

PropertyAttributeDescriptionTypeDefault
answerIdanswer-idAnswer idstringundefined
answeredBySourceanswered-by-sourceSpecifically how the question was answered (ie. "ACORD 126")stringundefined
autoCompleteauto-completeAutocomplete attribute value for inputstringundefined
code (required)codeQuestion codestringundefined
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
maxmax_valuemaximum length of inputnumber-1
minmin_valueminimum length of inputnumber-1
patternpatternRegular expression pattern input should matchstringundefined
placeholderplaceholderPlaceholder to displaystring''
pristinepristineis pristinebooleantrue
questionIdquestion_idQuestion idstringundefined
requiredrequiredIs question requiredbooleanfalse
texttextInitial text valuestringundefined
touchedtouchedis touchedbooleanfalse

Events

EventDescriptionType
valueUpdateValue change eventCustomEvent<string>

Dependencies

Used by

Depends on

Graph

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

Built with StencilJS