重置(textinput)在按钮上单击错误;“该功能期望可重置控制作为其输入”。

发布于 2025-02-12 19:27:23 字数 280 浏览 2 评论 0原文

我想使用 reset(textInput); 函数重置文本输入的

“ text”

UpdateContext({coordinates:Location.Latitude & ","& Location.Longitude});Reset(textInput)

属性 em> reset()函数给出以下错误“该功能期望可重置的控制作为其输入。”

在哪里错误?

I want to reset "Text" property of TextInput using Reset(TextInput); function

Initially I set the "Text" property to a variable then using

Below function on button OnSelect

UpdateContext({coordinates:Location.Latitude & ","& Location.Longitude});Reset(textInput)

Reset() function gives following error "The function expects a resettable control as its input."

Where is it wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

噩梦成真你也成魔 2025-02-19 19:27:23

您的输入可能在画廊或表格中。您必须将重置按钮包含在同一画廊或与输入的同一画廊中。

Likely your input is inside a gallery or form. You'll have to include your reset button in the same gallery or form as your input.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文