fix: the default value Input should not be disabled and hidden
This commit is contained in:
		
							parent
							
								
									2c75aa723d
								
							
						
					
					
						commit
						ea33974ec5
					
				@ -449,6 +449,8 @@ FormItem.Designer = function Designer() {
 | 
				
			|||||||
                          renderSchemaComponent: function Com(props) {
 | 
					                          renderSchemaComponent: function Com(props) {
 | 
				
			||||||
                            const s = _.cloneDeep(fieldSchema) || ({} as Schema);
 | 
					                            const s = _.cloneDeep(fieldSchema) || ({} as Schema);
 | 
				
			||||||
                            s.title = '';
 | 
					                            s.title = '';
 | 
				
			||||||
 | 
					                            s['x-read-pretty'] = false;
 | 
				
			||||||
 | 
					                            s['x-disabled'] = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                            return (
 | 
					                            return (
 | 
				
			||||||
                              <SchemaComponent
 | 
					                              <SchemaComponent
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user