feat(keys/cc-switch-dialog): 修复自定义cc-switch名称失焦后重置问题 (#5170)
This commit is contained in:
@@ -189,6 +189,7 @@ export function CCSwitchDialog(props: Props) {
|
|||||||
onValueChange={setName}
|
onValueChange={setName}
|
||||||
placeholder={currentConfig.defaultName}
|
placeholder={currentConfig.defaultName}
|
||||||
emptyText=''
|
emptyText=''
|
||||||
|
allowCustomValue={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user