Skip to main content

bp-sdk-google-places-autocomplete

Custom element hooks

NameDescription
bp-sdk-external-google-places-autocompletedisables html

Classes

NameDescription
bp-sdk-google-places-autocomplete__containerRoot div element
bp-sdk-google-places-autocomplete__labelLabel element
bp-sdk-google-places-autocomplete__inputInput element

Properties

PropertyAttributeDescriptionTypeDefault
answerIdanswer-idAnswer idstringundefined
answeredBySourceanswered-by-sourceSpecifically how the question was answered (ie. "ACORD 126")stringundefined
autoCompleteauto-completeAutocomplete attribute value for inputstringundefined
codecodeQuestion codestringundefined
errorTexterror_textError textstringundefined
errors--Error messagesstring[][]
fieldTypefield_typeField typestringundefined
filterfilterFilter textstringundefined
googleApiKeygoogle-api-keygoogle api key, if no key library is not loadedstringundefined
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
labellabelLabel to usestringundefined
labelIdlabel-idAria label by idstringundefined
labelledBylabelled-byLabels that describe groupstringundefined
maxmax_valuemaximum length of inputnumber-1
minmin_valueminimum length of inputnumber-1
placeholderplaceholderplaceholder textstring''
pristinepristineis pristinebooleantrue
questionIdquestion_idQuestion idstringundefined
requiredrequiredIs requiredbooleanundefined
touchedtouchedis touchedbooleanfalse

Events

EventDescriptionType
placesUpdateCustomEvent<any>
valueUpdateCustomEvent<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