1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Tweak SelectWidget docs

This commit is contained in:
Jermolene 2014-12-03 17:29:32 +00:00
parent a682a229e3
commit cbc8a6b785

View File

@ -1,6 +1,6 @@
caption: select caption: select
created: 20131024141900000 created: 20131024141900000
modified: 20141024155137508 modified: 20141203155137508
tags: Widgets tags: Widgets
title: SelectWidget title: SelectWidget
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki
! Introduction ! Introduction
The select widget displays a popup menu based on a [[HTML select element|https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select]]. The popup (or dropdown) contains a list of items defined by `<option>` and `<optgroup>` elements. The select widget displays a popup menu based on a [[HTML select element|https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select]]. The popup (or dropdown) contains a list of items defined by `<option>` and `<optgroup>` elements.
Every time the user selects a new value in the menu, the selected value is written to the text of a specified tiddler field or index. Every time the user selects a new value in the menu, the selected value is written to the text of a specified tiddler field or index. If the tiddler value changes the menu is automatically updated to reflect the new value.
For example, this select widget displays a list of the tags in this wiki: For example, this select widget displays a list of the tags in this wiki: