fix: linkage rule title can not set empty (#1688)
This commit is contained in:
		
							parent
							
								
									1fdc456c0b
								
							
						
					
					
						commit
						2ed3565d43
					
				@ -16,7 +16,8 @@ const LinkageRulesTitle = (props) => {
 | 
			
		||||
  const value = array?.field?.value[index];
 | 
			
		||||
  return (
 | 
			
		||||
    <Input.TextArea
 | 
			
		||||
      value={value.title || t('Linkage rule')}
 | 
			
		||||
      value={value.title}
 | 
			
		||||
      defaultValue={t('Linkage rule')}
 | 
			
		||||
      onChange={(ev) => {
 | 
			
		||||
        ev.stopPropagation();
 | 
			
		||||
        array.field.value.splice(index, 1, { ...value, title: ev.target.value });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user