瀏覽代碼

Update input_documentation.py

Added description for autocomplete.
Jacopo 2 年之前
父節點
當前提交
87520ba27d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)