1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 11:00:27 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/concepts
FlashSystems e9405ac810
Fix for Bug #6618 (#6628)
* Fix for Bug #6618

This Commit fixes Bug #6618. It is a little bit more complicated than
using one tiddler to store the new value for a field. Because the
following can happen:

* The user types "not-a-date" into the field value of a simple text field.
* The user now selects a field name that uses a HTML5 date editor. The
  Editor will show no date because the value cannot be parsed.
* The user saves the tiddler by clicking the checkmark.

Now the date-field contains the value "not-a-date" but the user was not
aware that this will be added. The edit control showed no date (because
the value was invalid) and the user assumed the field was empty and
won't be added to the tiddler.

To prevent this, every kind of field editor gets its own storage tiddler.
Its name is derived from the SHA256-hash of the name of the tiddler that
is returned by the Field Editor Cascade. That way every editor in the
cascade is only seeing its input. As long as the default setup (with one
default editor) is used, everything works like in 5.2.1.

This commit also fixes the bug that the after adding a field the
field-type input box was not focused again.

* Update Documentation for Field Editor Cascade

The fix for bug #6618 makes the handling of the tiddler backing the edit
operation much more complicated. See previous commit "Fix for Bug #6618"
for more details.
2022-05-14 13:30:04 +01:00
..
Cascades.tid Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
ColourPalettes.tid Fix sizes of SVG icons in documentation 2019-10-13 15:35:36 +01:00
Concepts.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
Current Tiddler.tid Update document in tiddlywiki.com edition 2016-07-06 01:10:51 +09:00
Customizing EditTemplate Field Rendering.tid Fix for Bug #6618 (#6628) 2022-05-14 13:30:04 +01:00
DataTiddlers.tid More documentation about named properties (#2481) 2016-06-09 22:09:16 +01:00
Date Fields.tid Missing docs for working with negative years 2020-12-01 15:51:07 +00:00
DefaultTiddlers.tid Docs: DefaultTiddlers tweaks 2018-03-06 16:14:50 +00:00
DictionaryTiddlers.tid Clarify DictionaryTiddlers definition 2018-03-05 11:19:21 +00:00
Dominant Append.tid Add support for = prefix for filter runs that doesn't remove duplicates 2019-06-10 17:54:20 +01:00
Edit Template Body Cascade.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
ExternalImages.tid Update ExternalImages.tid 2014-12-21 19:32:42 +01:00
Field Editor Cascade.tid Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
Filters.tid Fix the Advanced search link. ... (#6534) 2022-03-16 15:30:06 +00:00
Hard and Soft Links.tid Update document in tiddlywiki.com edition 2016-07-06 01:10:51 +09:00
InfoPanel.tid Rename "references" to "backlinks" in the tiddler info panel (#5143) 2020-11-29 18:32:22 +00:00
JSONTiddlers.tid Overhaul the macro and variable documentation #1519 2015-02-24 17:41:16 +01:00
KeyboardShortcutTiddler.tid KeyboardShortcut docs (#3496) 2018-11-21 11:24:50 +00:00
Macros.tid Add support for $:/tags/Macro/View/Body macros 2022-05-05 08:30:05 +01:00
Messages.tid Message tm-open-window enhancements (#6188) 2021-11-17 12:13:01 +00:00
Modules.tid Fix sizes of SVG icons in documentation 2019-10-13 15:35:36 +01:00
ModuleType.tid Tag Definition for tiddler ModuleType (#6256) 2021-11-21 22:19:54 +00:00
Order of Tagged Tiddlers.tid Docs: Add a new overview of customisation techniques 2021-11-29 09:21:50 +00:00
PermaLinks.tid Fix typo in filtered permalink example 2021-04-06 13:13:12 +01:00
Pragma.tid Add doc related to WikiText parser modes (#6415) 2022-01-23 09:44:01 +00:00
Railroad Diagrams.tid Tag additions (#6233) 2021-11-18 08:58:41 +00:00
Selection Constructors.tid Docs: change link (#3152) 2018-03-05 11:36:16 +00:00
ShadowTiddlers.tid Fix some typos in the ViewTolbar button docs (#5974) 2021-08-29 17:50:28 +01:00
Story River.tid Replace '_' to space in tw5.com edition (#2417) 2016-05-02 08:34:30 +01:00
Story Tiddler Template Cascade.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
Story Tiddler Template.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
SystemTags.tid Add support for $:/tags/Macro/View/Body macros 2022-05-05 08:30:05 +01:00
SystemTiddlers.tid Docs: Improve system tiddlers docs 2018-01-13 15:39:44 +00:00
TagTiddlers.tid Docs: Add a new overview of customisation techniques 2021-11-29 09:21:50 +00:00
TemplateTiddlers.tid Overhaul the macro and variable documentation #1519 2015-02-24 17:41:16 +01:00
TextReference.tid Docs: Fix typo in TextReference.tid (#3978) 2019-06-12 22:03:01 +01:00
Tiddler Colour Cascade.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
Tiddler Icon Cascade.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
TiddlerFields.tid Docs missed off 54cfda76ee 2022-01-09 10:18:11 +00:00
TiddlerLinks.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Tiddlers.tid Update "Tiddlers" docs 2014-11-21 17:06:12 +00:00
TiddlyWiki5.tid Update document in tiddlywiki.com edition 2016-07-06 01:10:51 +09:00
TiddlyWiki.tid Typo: Update TiddlyWiki.tid (#2566) 2017-02-27 16:38:57 +00:00
TiddlyWikiFolders.tid Improve support for bulk loading tiddlers under Node.js 2016-10-15 16:23:17 +01:00
Title List.tid Update document in tiddlywiki.com edition 2016-07-06 01:10:51 +09:00
Title Selection.tid Update document in tiddlywiki.com edition 2016-07-06 01:10:51 +09:00
Transclusion.tid Docs updates and fixing broken links (#4628) 2020-05-06 09:40:42 +01:00
View Template Body Cascade.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
View Template Title Cascade.tid Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
Wiki.tid More reference docs mangling 2014-09-11 15:52:47 +01:00
WikiText.tid Documentation of Using Excise text (#2533) 2018-11-27 21:12:44 +00:00