我正在尝试在其他输入视图屏幕中显示输入变量,但我无法这样做:
input-view{
match: JokeAnswer(this)
message("#{value(this)} Who?") //need to display earlier filled input
render{
form{
on-submit{
goal: JokeAnswer
value: viv.core.FormElement(answer)
}
submit-button{
template ("Submit")
}
elements{
text-input{
id (answer)
type (JokeAnswer)
value("#{raw(this)}")
}
}
}
}
}
预期输出:
Bixby: who's this?
User: XXX
Bixby : XXX who?
这是正确的做法还是任何其他解决方法?