Skip to content

Split Button: No way to set href for links on the primary button #9126

@paulcpederson

Description

@paulcpederson

Check existing issues

Actual Behavior

It is currently impossible to have the primary button in a split button be a link.

Expected Behavior

Expecting the same behavior as calcite-button where I can pass an href and the inner button element will become a styled link and the props get reflected properly.

Should include the following native props:

  • href
  • target
  • rel
  • download

Reproduction Sample

https://codepen.io/paulcp/pen/JjVBPzo?editors=100

Reproduction Steps

  1. Notice the button doesn't link anywhere

Reproduction Version

2.7.1

Relevant Info

No response

Regression?

No response

Priority impact

p3 - want for upcoming milestone

Impact

We need this for multiple features this release.

Calcite package

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

Esri team

ArcGIS Online

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS OnlineIssues logged by ArcGIS Online team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.calcite-componentsIssues specific to the @esri/calcite-components package.estimate - 3A day or two of work, likely requires updates to tests.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestonep - mediumIssue is non core or affecting less that 60% of people using the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions