class documentation

class AutocompleteView(Choices): (source)

Constructor: AutocompleteView(**kwargs)

View In Hierarchy

Displays an autocomplete input.

Note

This view can be used in place of Choices.

Parameters
choicesa list of Choice instances
read_onlywhether the view is read-only
allow_user_inputwhen True the user can input a value that is not in the choices
allow_duplicateswhen True the user can select the same choice multiple times
Method __init__ Undocumented

Inherited from Choices:

Method add_choice Adds a choice value to this instance.
Method append Appends a Choice to the list of choices.
Method clone Undocumented
Method to_json Undocumented
Method values Returns the choice values for this instance.
Instance Variable _choices Undocumented

Inherited from View (via Choices):

Method kwargs_to_json Undocumented
Instance Variable caption Undocumented
Instance Variable component Undocumented
Instance Variable componentsProps Undocumented
Instance Variable container Undocumented
Instance Variable description Undocumented
Instance Variable label Undocumented
Instance Variable placeholder Undocumented
Instance Variable space Undocumented
Instance Variable _kwargs Undocumented
def __init__(self, **kwargs): (source) ΒΆ