Best you share some code for us to look at. Try and replicate on tiddlywiki.com
It can all depend how you reference the value. Of you set a variable to a text reference it should work but using triple braces and trim if needed.
Regards
Tony
<$edit-text tag=input tiddler="$:/temp/test" field="newEntry" /><$button><$action-sendmessage $message="tm-new-tiddler" title={{$:/temp/test!!newEntry}} />New Tiddler</$button>