Hi, This will be implemented in TW 5.1.23 ... the next version -m On Thursday, November 12, 2020 at 6:09:25 PM UTC+1 Cade Roux wrote:
> In HTML <input> there is a disabled attribute. But this is not available > in <$checkbox> Would also like to be able to disable <$edit-text> as well. > > Particular use case is that during my build cycle I am generating results > into some TW in a "read-only" mode where the users cannot sign off on > things and into some TW in a "test verification" mode where users do have > to sign off on things, and I would like the layout to look similar to users > and be able to simplify the code which generates the tiddlers/transcludes. > Currently, I replace those inputs with literal text, but would prefer to > just be able to tag them with disabled so that all the existing TW bindings > logic to tiddlers/fields would work. > > I am considering just generating <input> elements which would look similar > to the TW <$checkbox> elements but are disabled by attribute (and would > lose their binding to the underlying tiddlers/fields, so that would have to > be a literal as well). Another option I am considering is layering a div > over them so they cannot get the focus. > > Thanks in advance, > > Cade > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/34cd9e3c-9d2c-46a3-b94b-88978330eed9n%40googlegroups.com.