UI Builder Tab Component on a Modal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 08:57 AM
I have a tab component on a modal with 3 tabs. The modal pops up when a list item is selected and allows the user to set information about the record on all 3 tabs. If the user closes the modal after tab 2 or tab 3 is selected, the next time they open the modal on any list item, it defaults to the last tab they selected. The user requests that the modal always opens on tab 1.
I have set tried setting
1. Selected tab index to 0
2. Default tab to the first tab name
It appears that the tab component checks the isInitialPageLoad on payload. Since the tab is on a modal and not the page, after the first time it pops up, I believe this information is set to false and thus ignores the settings.
Is there any other way I can get it to default to the first tab? Any not "out of the box" solutions?