bp-sdk-google-places-autocomplete
Custom element hooks
Name | Description |
---|
bp-sdk-external-google-places-autocomplete | disables html |
Classes
Name | Description |
---|
bp-sdk-google-places-autocomplete__container | Root div element |
bp-sdk-google-places-autocomplete__label | Label element |
bp-sdk-google-places-autocomplete__input | Input 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 |
autoComplete | auto-complete | Autocomplete attribute value for input | string | undefined |
code | code | Question code | string | undefined |
errorText | error_text | Error text | string | undefined |
errors | -- | Error messages | string[] | [] |
fieldType | field_type | Field type | string | undefined |
filter | filter | Filter text | string | undefined |
googleApiKey | google-api-key | google api key, if no key library is not loaded | string | undefined |
helpText | help-text | Help text | string | undefined |
isCompleted | is_completed | Is answer in complete state | boolean | false |
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 to use | string | undefined |
labelId | label-id | Aria label by id | string | undefined |
labelledBy | labelled-by | Labels that describe group | string | undefined |
max | max_value | maximum length of input | number | -1 |
min | min_value | minimum length of input | number | -1 |
placeholder | placeholder | placeholder text | string | '' |
pristine | pristine | is pristine | boolean | true |
questionId | question_id | Question id | string | undefined |
required | required | Is required | boolean | undefined |
touched | touched | is touched | boolean | false |
Events
Event | Description | Type |
---|
placesUpdate | | CustomEvent<any> |
valueUpdate | | CustomEvent<string> |
Dependencies
Used by
Depends on
Graph
graph TD;
bp-sdk-google-places-autocomplete --> bp-sdk-errors-container
bp-sdk-errors-container --> bp-sdk-errors
bp-sdk-google-places-autocomplete-container --> bp-sdk-google-places-autocomplete
style bp-sdk-google-places-autocomplete fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS