bp-sdk-errors
Custom element hooks
Name | Description |
---|
bp-sdk-external-errors | disables html |
Classes
Name | Description |
---|
bp-sdk-errors__container | Root div element |
bp-sdk-errors__text | Class for div that displays error_text |
bp-sdk-errors__text -${this.answerId} | Class scoped to questionId for error_text text element |
bp-sdk-errors__list | Class for unsorted list element that displays errors |
bp-sdk-errors__list-item | Class for list item element that displays errors |
bp-sdk-errors__list-item -${this.answerId} | Class scoped to questionId for errors text element |
Properties
Property | Attribute | Description | Type | Default |
---|
answerId | answer-id | Answer id | string | undefined |
errorMessages | -- | Error messages function map | IErrorMessages | undefined |
errorText | error_text | Error text | string | undefined |
errors | -- | Error messages | string[] | [] |
fieldType | field_type | Field type | string | undefined |
max | max_value | Maximum value | number | undefined |
maxDate | max_date | Maximum date | string | undefined |
min | min_value | minimum value | number | undefined |
minDate | min_date | minimum date | string | undefined |
pattern | pattern | Regex pattern to match | string | undefined |
questionId | question_id | Question Id | string | undefined |
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