Hi Mauloop

> Thanks for the explanation, Jeremy. I don't understand the rendering 
> mechanism very well, and this is the cause of most of my mistakes. I have to 
> study hard :(((
> 
> The previous examples was just to show the behaviour I was investigating, but 
> it was almost useless. Here is a real (somewhat simplified) use case.
> 
> The "Done" button should appear only if all of the fields in the form are 
> filled.
> In my scenario the number and the names of fields to check could change 
> (unpredictable)
> 
> Just drag'n'drop the attached json on tiddlywiki.com and open "My Tiddler" to 
> test. Using the workaround as from my last post I should pass all of the 
> needed macros as params to the tm-modal message. A little bit garbled but it 
> works. It would be nice if there was an easiest way to achieve the same 
> result.

That’s a very compelling scenario, and it’s a shame that it’s harder than it 
should be.

At the moment the title, body and footer of modals are separate, independent 
things. One possibility is a new mode where the body contains the entire modal, 
including the title and footer. The user would just need to use the right CSS 
class names to get the standard styling, or they could run with their own.

Best wishes

Jeremy.


> 
> Best regards,
> 
> )+(au
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/19001671-5a56-4c50-b4b6-b93d011c2f7e%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/19001671-5a56-4c50-b4b6-b93d011c2f7e%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> <MyModalExample.json>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/20A752EB-3B13-4CE4-851A-501ACD03ED59%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to