We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,我想将 CONTROL 用来插入一些特定名词组,他不能修改,只能添加或删除
但当我使用 disabled 禁止编辑时,光标仍然可以聚焦到 { } 内部,见下图
我想实现类似以下的效果,(想要在以下效果中禁止光标进入)
代码如下 instance.command.executeInsertElementList([ { type: ElementType.CONTROL, value: ' ', control: { type: ControlType.TEXT, value: null, placeholder: '感冒', prefix: '\u200c ', postfix: ' \u200c', deletable: true, disabled: true } } ])
instance.command.executeInsertElementList([ { type: ElementType.CONTROL, value: ' ', control: { type: ControlType.TEXT, value: null, placeholder: '感冒', prefix: '\u200c ', postfix: ' \u200c', deletable: true, disabled: true } } ])
是否可以禁止光标进入控件内部(禁止聚焦)?或者是否有别的实现方式?
focus:false
The text was updated successfully, but these errors were encountered:
特定名词组 的使用场景及功能有哪些
Sorry, something went wrong.
@Hufe921
使用场景设想(设想一下某些词汇,出现就一定是多个字一起组合出现,不出现就是一个字符都不会出现),例如说以下
功能设想:
看起来新增标签元素才能满足你的需求
使用控件改造会有很多细节问题
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: