http://tiddlytools.com/timer.html#TiddlyTools%2FTimer%2FEditDate

Introduction

The edit-date macro provides a user interface that combines the features of 
a text input (<$edit-text> widget) with "edit-in-place" 
(save/cancel/delete) buttons and a popup monthly calendar. This allows you 
to enter custom text or select and format a date from the calendar.

Parameters

The macro supports a subset of the parameters allowed by the <$edit-text>
 widget:
Parameter Description
tiddler The tiddler in which to save the input (default=<<currentTiddler>>)
field The field in which to save the input (default=date)
format The TiddlyWiki Date Format <https://tiddlywiki.com/#DateFormat> used 
to store a date selected from the calendar (default=YYYY/0MM/0DD)
default text to be used when the target field doesn't exist
placeholder text to display when the target field is empty (default="select 
or enter a date")
size The size of the input field in characters (default=20)
focus Set to "yes" or "true" to automatically focus the input after creation
class A CSS class to be assigned to the generated HTML editing element

Notes


   - Use <<edit-date field:fieldname>> to embed a date input field in 
   tiddler content.
   - Unlike the <$edit-text> widget, the <<edit-date>> macro allows you to 
   input values that are stored in the current tiddler.
   - When the field receives the input focus, a set of "edit-in-place" 
   buttons and a monthly calendar are displayed.


   - [checkmark] saves changes to the field value. [X] cancels changes to 
   the field value. [trashcan] deletes the field value.


   - [<<] displays the previous month. [>>] displays the next month.


   - Click a date to set the edit field contents using the indicated TiddlyWiki 
   Date Format codes <https://tiddlywiki.com/#DateFormat>.
   - You can override the default date format (YYYY/0MM/0DD) by entering a 
   new format directly in the calendar popup.
   - Note: if TiddlyTools/Timer/Calendar 
   <http://tiddlytools.com/timer.html#TiddlyTools%2FTimer%2FCalendar> is 
   not installed, the calendar popup is not displayed.


enjoy,
-e 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f2f9d9ed-da1a-4f1a-ad4b-192b1da682d9o%40googlegroups.com.

Reply via email to