Skip to content

A Field View Template #6803

Answered by kookma
kookma asked this question in Q&A
Jul 20, 2022 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

I understood the new fields section is more complicated than what is in TW 5.2.2. It seems some variables are added which is not present in my update, so the solution breaks TW UI.

For any one interested, for TW5.2.3 the below template works

<$reveal type=match stateTiddler stateTitle="$:/state/utility/view-fields" stateField=text default="hide" text=show tag=div class="kk-ut-viewfields">
<$importvariables filter="[[$:/core/ui/EditTemplate]]">
<!-- the above import required from TW5.2.3-->
<$vars 
	newFieldNameTiddler=<<qualify "$:/temp/NewFieldName">>
	newFieldValueTiddlerPrefix=<<qualify "$:/temp/NewFieldValue">>
	newFieldNameInputTiddler=<<qualify "$:/temp/NewFieldName/input">>
	newFie…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kookma
Comment options

You must be logged in to vote
1 reply
@kookma
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants