- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 08:34 AM
Context:
I have a widget / UI question. By default, the task selector in the Time Card Portal has 3 tabs, with Task and its items showing up:
I would like the "Other" tab and its contents to show up on default / page load, like this:
In the widget timecard-task-selector, I commented out the elements in the unordered list so that "Tasks" and "Group Tasks" are hidden. However, the cards are still populated with items for "Task", like this:
Question: Is there a way for me to make this widget show "Task work" and "Out of office" from the "Other" tab by default / on load?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 12:19 PM
I found out the solution. In the HTML, I should add class="active" to the <li> and <div role="tabpanel"> elements for the tab that I wanted to render first:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 12:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 05:23 AM
I have a related question. How do we update this "Others" list? I just want to display few items rather then everything we see OOTB. I see that you have already achieved it so would be really helpful if you could guide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 03:55 PM - edited 01-17-2024 03:57 PM
Navigate to the list of time card categories and set them to "Inactive" = true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 07:40 AM
Thank you @R Rafols - I had the same question as adityad - I have set the time card categories to "Inactive" = true.
My next question is after I had done the above I also need to create custom categories. I have done this but how do I map the new / custom time card categories on the Time Card Category Maps table?
