app/components/avo/tab_group_component.html.erb in avo-2.13.2.pre.2 vs app/components/avo/tab_group_component.html.erb in avo-2.13.3.pre.1

- old
+ new

@@ -23,10 +23,10 @@ is_current_tab = active_tab_name.to_s == tab.name.to_s # On edit screens we want to load each tab because we wnst the DOM to have the fields present on form submission. # If you have a field which is in the second tab and it's required, the form submission will fail because the required field is not in view, and we don't want that. # We also want to load the current tab - should_lazy_load = if @view.to_s.in?(['edit', 'new']) + should_lazy_load = if @view.to_s.in?(['edit', 'new', 'update', 'create']) false else !is_current_tab end