• * Table BasicColumn 添加 editDynamicDisabled
    Co-authored-by: Cyrus Zhou <6802207@qq.com>
    使用方式同 Form FormSchema dynamicDisabled
    ```
    export const Columns: BasicColumn[] = [
      {
        title: 'Title',
        dataIndex: 'Title',
        editRow: true,
        editComponent: 'Select',
        editDynamicDisabled: ({ record }) => record.isDisabled,
      },
    
    * editComponentProps onChange 功能恢复
    Co-authored-by: Cyrus Zhou <6802207@qq.com>
    说明:
    ...omit(compProps, 'onChange')
    这会忽略 onChange ,导致 editComponentProps onChange 被取消
    
    如下功能将不支持:
    ```
    editComponentProps: ({ record }) => {
      return {
        options: effectTypeData,
        onChange: () => {
        },
      };
    },
    ```
    
    * tableData == null 报错
    
    * ApiSelect 第一次选择触发required错误提示问题
    
    * 恢复 虽然可以解决第一次选择提示报错问题,但是会导致 onChange: (e: any, options: any) => 无法获得 options 的值
    Cyrus Zhou authored
     
    Browse Dir »
  • Charles authored
     
    Browse Code »
  • ParkerFiend authored
     
    Browse Dir »