Add new focus attribute to $select widget (#7081)

* Add focus attribute to $select widget

This address https://github.com/Jermolene/TiddlyWiki5/issues/7070

* Update SelectWidget.tid

Update the documentation for $select widget to include the new attribute: focus
This commit is contained in:
Mohammad Rahmani
2022-12-03 11:52:21 +03:30
committed by GitHub
parent d03da6085b
commit 45a7eb1c03
2 changed files with 5 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ The content of the `<$select>` widget should be one or more HTML `<option>` or `
|multiple |If present, switches to multiple selection mode |
|size |The number of rows to display in multiple selection mode |
|actions |A string containing ActionWidgets to be triggered when the key combination is detected |
|focus |<<.from-version "5.2.4">> Optional. Set to "yes" to automatically focus the HTML select element after creation |
! Examples