bp-sdk-driver-input-container
Custom element hooks
Name | Description |
---|
bp-sdk-external-driver-input-container | disable html |
Classes
Name | Description |
---|
bp-sdk-driver-input-container__container | Root div element |
Properties
Property | Attribute | Description | Type | Default |
---|
answerId | answer-id | Answer id | string | undefined |
answeredBySource | answered-by-source | Specifically how the question was answered (ie. "ACORD 126") | string | undefined |
code (required) | code | Question code | string | undefined |
driverLicenseStateAnswer | -- | Driver license state answer injected by redux | IAnswer | undefined |
errorText | error-text | Error text | string | undefined |
errors | -- | Error messages | string[] | [] |
fieldType | field-type | Field type | string | 'text' |
helpText | help-text | Help text | string | undefined |
isCompleted | is-completed | Is answer in complete state | boolean | false |
isEnabled | is-enabled | Is enabled | boolean | true |
isReadOnly | is-read-only | When true, the field will be readonly. It will display only the label and value as plain text. | boolean | false |
label | label | Label | string | undefined |
labelId | label-id | Aria label id's that describes input for screen readers | string | undefined |
labelledBy | labelled-by | Labels that describe group | string | undefined |
max | max | maximum length of input | number | -1 |
min | min | minimum length of input | number | -1 |
pattern | pattern | Regular expression pattern input should match | string | undefined |
placeholder | placeholder | Placeholder to display | string | '' |
pristine | pristine | is pristine | boolean | true |
questionGroupId | question-group-id | Question group id | string | undefined |
questionId | question-id | Question id | string | undefined |
questionPoolId | question-pool-id | Question pool id | string | undefined |
referenceType | reference-type | Reference type | string | undefined |
required | required | Is question required | boolean | false |
text | text | Initial text value | string | undefined |
touched | touched | is touched | boolean | false |
Events
Event | Description | Type |
---|
fakeValueUpdate | Value change event | CustomEvent<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