Browse Source

Update input_documentation.py

Added description for autocomplete.
Jacopo 2 năm trước cách đây
mục cha
commit
87520ba27d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      website/more_documentation/input_documentation.py

+ 1 - 1
website/more_documentation/input_documentation.py

@@ -12,7 +12,7 @@ def main_demo() -> None:
 
 def more() -> None:
 
-    @text_demo('Auto complete input', 'description')
+    @text_demo('Auto complete input', ' The `autocomplete` feature provides suggestions as you type, making input easier and faster. The parameter `options` is a list of strings that contains the available options that will appear.')
     async def autocompleteinput():
         options = ['AutoComplete', 'NiceGUI', 'Awesome']
         ui.input(label='Text', placeholder='start typing', autocomplete=options)