Esri/calcite-design-system

Internal element in link is getting attribute values set to "false"

開放

#12,208 建立於 2025年5月22日

 (0 則留言) (0 個反應) (0 位負責人)TypeScript (88 個分叉)auto 404
bugestimate - 2good first issueimpact - p2 - want for an upcoming milestonep - low

倉庫指標

星標
 (367 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

monday.com sync: #18048672280

Check existing issues

Actual Behavior

When no href, rel, target are defined, their values are being set to "false" when they should not be

Expected Behavior

  • Values should be set to null instead of false in these scenarios
  • Ensure the button and input components are in alignment with the solution to link
    • If, however, the above cannot be mitigated, is this a Lumina bug we need to explore/follow-up on?

Reproduction Sample

https://codepen.io/driskull/pen/JoogMPM?editors=100

Reproduction Steps

  1. open codepen
  2. Inspect link internals
  3. Notice the span is being set a ref, rel, target when it shouldn't be

Reproduction Version

3.2.0

Relevant Info

No response

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

N/A

貢獻者指南