Thanks Josiah (@TiddlyTweeter)! Be sure to explore the Advanced Examples. The key things I improved upon from btheado's version is that the widget now has different modes (edit, view, design, & preview), and there is some smart state-handling (currently just detects which collapse buttons have been closed and then if the view/edit mode toggles), and various other bugfixes and workflow helpers.
The key thing is to follow the procedure outlined in the Advanced Examples _if_ you have a json object to start with. If not, just spawn a $jsoneditor in design mode, point it to a storage tiddler, and design the form (which then builds/creates the data object). Starting from scratch can lead to 'options paralysis' tho, which is why I gave some concrete examples of starting with a simple form/schema of a simple object, and then adding onto it and using it in more complex cases. @DavidNebaur - eeee, looks like IE11 not supporting the assign() function is quite a problem. Still researching it. Best, Joshua Fontany On Tue, Apr 2, 2019 at 3:46 PM @TiddlyTweeter <[email protected]> wrote: > Ciao Joshua > > Brilliant piece of work! > > It works well and looks good too. > > I have in mind to maybe use it for a food nutrition database. That will > take me time---but this looks like it will do the job properly. > > Best wishes > Josiah > > -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWikiDev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywikidev/xa9PunBvrbE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tiddlywikidev. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/13e8158b-dd4e-42fe-a6a5-44c112a11f98%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywikidev/13e8158b-dd4e-42fe-a6a5-44c112a11f98%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/CAM1fME5wnmpamUoHZcGhFOyOfrRsZrv_GvGMVyWbVr4yd2dycA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
