import panel as pn pn.extension() autocomplete = pn.widgets.AutocompleteInput( name='Autocomplete Input', options=['Biology', 'Chemistry', 'Physics'], case_sensitive=False, search_strategy='includes', placeholder='Write something here') pn.Row(autocomplete, height=100) autocomplete.value not_restricted = autocomplete.clone(value='Mathematics', restrict=False) pn.Row(not_restricted, height=100) not_restricted.value pn.Row(autocomplete.controls(jslink=True), autocomplete)