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.
即使该字段是只读的,当我们单击该字段时,光标也是可见的并且焦点在该字段上。有没有办法将字段设置为失焦(禁用除外)。
如果这不是用于具有forceSelection: true配置的组合框,那么这可能是一个坏主意,但可以按照此处的说明进行操作。否则你可以做类似的事情。
forceSelection: true