Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果用户按下回车键,我怎样才能拥有一个具有 autoSave="false" 但保存更改的文本的 dojo InlineTextBox?是否可以有“保存”和“取消”按钮以及 autoSave='true' 的输入行为保存?
抱歉,现在没有好办法。
当然你可以编辑源代码;this.autoSave 在两个地方被引用,应该清楚哪一个用于输入键行为......但这是一个笨拙的解决方案。