>From a technical standpoint, that HTML entity may be removed from the DOM 
at any time (during the TW refresh cycle, if it is inside a block that gets 
refreshed to no longer include it, i.e. a user closes the Tiddler in the 
river, or "hides" it by a "slider"/$reveal. Any code references to that 
specific HTML entity in the DOM are now broken.

TW uses Widgets (which survive the refresh process, handles all code 
references i.e. persisting variables or data, and then build HTML to insert 
into the DOM if the widget is actively displayed).

I would read the Dev Wiki on tiddlywiki.com to get a sense of how the 
update/refresh procces works, and then the $edit-textwidget docs, and then 
the CODE inside the "simple engine" that the $edit-text widget spawns for 
simple 1 line textboxes:

https://tiddlywiki.com/dev/#WikiText:WikiText%20Widgets%20Introduction%20HelloThere

https://tiddlywiki.com/#EditTextWidget

https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Feditor%2Fengines%2Fsimple.js


There is also this similar plugin: http://kixam.github.io/TW5-datePicker/

Best,
Joshua Fontany

On Monday, April 12, 2021 at 5:56:59 AM UTC-7 PMario wrote:

> Hi Hubert,
>
> I think it's mainly because of UI consistency. We need browser and OS 
> consistency. So it's much easier to create your own UI and be consistent, 
> instead of documenting a 100 different OS and browser combinations. 
>
>    - Date and Time pickers imo are always used in a very specific 
>    context. ... You mentioned Projectify, which is a task-management context
>    - On a holiday-booking size you may need a "from - to" context and you 
>    probably need 2 pickers in 1 "popup". 
>    - In a calendar context you will probably need additional fields for 
>    "week" and "time" ... 
>    - ... .and so on ... 
>
> All of this makes it "easier" to make it on your own!
>
> *On the other hand* date-calculations are extremely complex, since they 
> have to deal with country and / or region specific differences. ... That's 
> the reason, why many 3rd party libraries are huge in terms of byte-size. 
>
> So TW only provides the most basic possibilities. ... Even if they would 
> profit hugely from some "love", since the browsers have made a lot of 
> progress since TW5 and the date-functions have been created. 
>
> Just my thoughts!
> mario
>
>

-- 
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/c0402277-38e7-4dd5-952b-32d64c648839n%40googlegroups.com.

Reply via email to