Skip to main content

bp-sdk-date-input

Custom element hooks

NameDescription
bp-sdk-external-date-inputdisables html

Classes

NameDescription
bp-sdk-date__containerRoot div element
bp-sdk-date__labelLabel element
bp-sdk-date__inputinput element

Properties

PropertyAttributeDescriptionTypeDefault
answerIdanswer-idAnswer idstringundefined
answeredBySourceanswered-by-sourceSpecifically how the question was answered (ie. "ACORD 126")stringundefined
codecodequestion codestringundefined
errorTexterror_textError textstringundefined
errors--Error messagesstring[][]
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
isSensitiveis-sensitiveIs sensitivebooleanfalse
labellabelLabel to usestringundefined
labelIdlabel-idLabel id to usestringundefined
labelledBylabelled-byLabels that describe groupstringundefined
maxDatemax_datemaximum date valuestringundefined
minDatemin_dateminimum date valuestringundefined
patternpatternRegex pattern to matchstringundefined
placeholderplaceholderPlaceholder to displaystring'Pick a date'
pristinepristineIs pristinebooleantrue
questionIdquestion_idQuestion Idstringundefined
requiredrequiredIs requiredbooleanundefined
texttextQuestion textstringundefined
touchedtouchedIs touchedbooleanfalse
valuevaluequestion valuestringundefined

Events

EventDescriptionType
valueUpdateValue has updatedCustomEvent<string>

Dependencies

Used by

Depends on

Graph

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

Built with StencilJS