To add auto complete to a textbox you must turn on the following properties:
- AutoCompleteEnabled
- ShowAutoComplete
- useOnChange
Code: Select all
.autocomplete-items {
display: none;
position: absolute;
min-width: 100px;
max-height: 280px;
z-index: 1;
overflow-y: auto;
background-color: white;
border-radius: 3px;
box-shadow: 0px 0px 1px grey;
}
.autocomplete-items > option {
padding: 8px;
margin: 4px;
border-radius: 3px;
border: 1px solid transparent;
cursor: pointer;
}
.autocomplete-items > option.hover {
border: 1px solid #2484c5;
background-color: #175E8E22;
}
.text-field-wrap:focus-within > .autocomplete-items {
display: block;
}