Skip to main content

bp-sdk-errors

Custom element hooks

NameDescription
bp-sdk-external-errorsdisables html

Classes

NameDescription
bp-sdk-errors__containerRoot div element
bp-sdk-errors__textClass for div that displays error_text
bp-sdk-errors__text-${this.answerId}Class scoped to questionId for error_text text element
bp-sdk-errors__listClass for unsorted list element that displays errors
bp-sdk-errors__list-itemClass for list item element that displays errors
bp-sdk-errors__list-item-${this.answerId}Class scoped to questionId for errors text element

Properties

PropertyAttributeDescriptionTypeDefault
answerIdanswer-idAnswer idstringundefined
errorMessages--Error messages function mapIErrorMessagesundefined
errorTexterror_textError textstringundefined
errors--Error messagesstring[][]
fieldTypefield_typeField typestringundefined
maxmax_valueMaximum valuenumberundefined
maxDatemax_dateMaximum datestringundefined
minmin_valueminimum valuenumberundefined
minDatemin_dateminimum datestringundefined
patternpatternRegex pattern to matchstringundefined
questionIdquestion_idQuestion Idstringundefined

Dependencies

Used by

Graph

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

Built with StencilJS