Open
Description
What problem does this feature solve?
你好,我想将 CONTROL 用来插入一些特定名词组,他不能修改,只能添加或删除
但当我使用 disabled 禁止编辑时,光标仍然可以聚焦到 { } 内部,见下图
代码如下
instance.command.executeInsertElementList([ { type: ElementType.CONTROL, value: ' ', control: { type: ControlType.TEXT, value: null, placeholder: '感冒', prefix: '\u200c ', postfix: ' \u200c', deletable: true, disabled: true } } ])
是否可以禁止光标进入控件内部(禁止聚焦)?或者是否有别的实现方式?
What does the proposed API look like?
focus:false