Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ids-Tabs: Selected attribute not working #1705

Closed
ajayponnapati opened this issue Dec 19, 2023 · 2 comments · Fixed by #1725 or #1773
Closed

Ids-Tabs: Selected attribute not working #1705

ajayponnapati opened this issue Dec 19, 2023 · 2 comments · Fixed by #1725 or #1773
Assignees
Labels
type: bug 🐛 Something isn't working [2] Velocity rating (Fibonacci)

Comments

@ajayponnapati
Copy link

Describe the bug
Selected attribute to ids-tab is not working.When we add selected=true to a tab, it is not being selected.Code is shared below.

To Reproduce
Use the below code to reproduce the bug.In the below code selected="true" for Opportunities tab, But when you run it we see other tab as selected.

<ids-tabs-context>
  <ids-tabs >
    <ids-tab value="contracts">Contracts</ids-tab>
    <ids-tab value="opportunities" selected="true">Opportunities</ids-tab>
    <ids-tab value="attachments">Attachments</ids-tab>
    <ids-tab value="notes">Notes</ids-tab>
  </ids-tabs>
</ids-tabs-context>

Steps to reproduce the behavior:

  1. Go to https://github.com/infor-design/enterprise-wc/blob/main/src/components/ids-tabs/demos/side-by-side.html
    2.Place the shared code in the above file and run
  2. You will see Notes tab selected.But Opportunities should be selected

Expected behavior
The tab which has the attribute selected to true should be selected(should be highlighted).

Version

  • ids-enterprise: [e.g. v4.9.0 or v4.10.0]

Screenshots
image

Platform

  • Infor Application/Team Name: [e.g. Infor XYZ, Infor ABC]
  • Device: (if applicable) [e.g. iPhone 6 or Samsung Galaxy S6]
  • OS Version: [e.g. Windows 10 or iOS 8]
  • Browser Name: [e.g. chrome, safari, stock browser]
  • Browser Version: [e.g. 22, 66.0.3359.181 (Official Build) (64-bit)]

Additional context
Add any other context about the problem here.

@tmcconechy tmcconechy changed the title IDS-TABS Selected attribute Ids-Tabs: Selected attribute not working Dec 19, 2023
@tmcconechy tmcconechy added type: bug 🐛 Something isn't working [2] Velocity rating (Fibonacci) labels Dec 19, 2023
@tmcconechy tmcconechy self-assigned this Dec 27, 2023
@jbrcna
Copy link
Contributor

jbrcna commented Jan 10, 2024

QA Passed
verified in https://main.wc.design.infor.com/ids-tabs/selected.html
image

@tmcconechy tmcconechy reopened this Jan 17, 2024
@tmcconechy
Copy link
Member

Reopening because moving the selected to a different tab doesnt seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working [2] Velocity rating (Fibonacci)
Projects
No open projects
3 participants