Skip to content

tdesign-react@1.18.2

Latest

Choose a tag to compare

@tdesign-bot tdesign-bot released this 14 Aug 10:00
34ce22b

🌈 1.18.2 2026-08-14

🚀 Features

  • Comment: actions 支持单个 TNode @RSS1102 (#4354)
  • Form: 末尾表单项增加 --last 标识,保证 margin 样式正常生效 @uyarn (#4356)
  • Tag: title 支持 Boolean 类型,传入 false 则不会显示 title,不传或传入 true 则显示默认的内容。 @Wesley-0808 (#4336)

🐞 Bug Fixes

  • Button:
  • Comment: 修复操作项图标与文字未垂直居中的问题 @RSS1102 (#4354)
  • ConfigProvider: 修复 table.sortIcon 不生效的问题 @RylanBot (#4338)
  • EnhancedTable:
    • 修复半选状态异常的问题 @RylanBot (#4104)
    • 修复非受控且 tree.checkStrictlyfalse 时,选中父节点后子节点没有同步更新的问题 @RylanBot (#4104)
  • Form: 修复嵌套表单在触发 validate 后重渲染导致数值丢失的问题 @RylanBot (#4350)
  • Popup: 修复鼠标在浮层上左键长按或右键点击后,移出浮层无法自动关闭的问题 @RylanBot (#4287)
  • SelectInput: 修复 1.18.1 的调整,导致单选且未开启 filterable 时,valueDisplay 为自定义字符串导致的 DOM 结构变更问题 @RylanBot (#4351)
  • Steps:
  • Table:
    • 修复全选会篡改禁用项选中状态的问题 @RylanBot (#4104)
    • 修复过滤后的数据量在跨越虚拟滚动的 threshold 时,筛选器下拉框被强行关闭的问题 @RylanBot (#3803)

🚀 Features

  • Comment: The actions property now supports a single TNode @RSS1102 (#4354)
  • Form: A --last identifier is added to the last form field to ensure that the margin style is applied correctly @uyarn (#4356)
  • Tag: The title property accepts Boolean values; if false is specified, the title will not be displayed, while if no value is specified or true is used, the default text will be shown. @Wesley-0808 (#4336)

🐞 Bug Fixes

  • Button:
    • The default margin:0 and z-index:0 values of this component have been removed @RylanBot (common#2636)
    • The issue of insufficient spacing between custom SVG icons and text has been resolved @xy200303 (common#2639)
  • Comment: Fixed the issue where the icons and text associated with action items were not vertically centered @RSS1102 (#4354)
  • ConfigProvider: Fixed the problem where table.sortIcon did not function as intended @RylanBot (#4338)
  • EnhancedTable:
    • Fixed issues related to the semi-selected state @RylanBot (#4104)
    • Fixed the problem where, when tree.checkStrictly is set to false, the child nodes were not updated after the parent node was selected @RylanBot (#4104)
  • Form: Fixed the issue where nested forms lost their numerical values after the validate function was triggered, resulting in re-rendering @RylanBot (#4350)
  • Popup: Fixed the problem where the popup would not close automatically when the mouse button was held down or clicked right on it after leaving the popup area @RylanBot (#4287)
  • SelectInput: Fixed issues caused by adjustments in version 1.18.1, which led to changes in the DOM structure when using a single-selection option without filterable enabled and a custom valueDisplay string being used @RylanBot (#4351)
  • Steps:
    • Fixed issues with alignment of connection lines and inconsistent distances from the surrounding icons when layout='vertical' was used @RylanBot (common#2670)
    • Fixed the connection line thickness inconsistency between the default and selected states @RylanBot (common#2670)
  • Table:
    • Fixed the issue where selecting all items altered the selection status of disabled items @RylanBot (#4104)
    • Fix the issue where the filter dropdown closes unexpectedly when the filtered data count crosses the virtual scrolling threshold @RylanBot (#3803)