mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: make variant payload text box multiline (#1060)
* fix: make variant payload text box multiline * refactor: adjust min/max rows * refactor: use fixed number of rows to avoid MUI render loop bug
This commit is contained in:
		
							parent
							
								
									4a5ed3c3e7
								
							
						
					
					
						commit
						5ff790aa81
					
				| @ -336,6 +336,8 @@ export const AddVariant = ({ | ||||
|                             name="variant-payload-value" | ||||
|                             id="variant-payload-value" | ||||
|                             label="Value" | ||||
|                             multiline={payload.type !== 'string'} | ||||
|                             rows={payload.type === 'string' ? 1 : 4} | ||||
|                             className={themeStyles.fullWidth} | ||||
|                             value={payload.value} | ||||
|                             onChange={e => onPayload('value')(e.target.value)} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user