Closed HarryThe3rd closed 1 month ago
In the form.blade.php for a model, I defined several additionalFieldsets but the anchor navigation is not displayed.
Go to a form.blade.php define some addtional fieldsets like
@extends('twill::layouts.form', [ 'disableContentFieldset' => true, 'additionalFieldsets' => [ ['fieldset' => 'baseinfo', 'label' => twillTrans('modules/programs.baseinfo')], ['fieldset' => 'structure', 'label' => twillTrans('modules/programs.structure')], ['fieldset' => 'contents', 'label' => twillTrans('modules/programs.contents')], ['fieldset' => 'seo', 'label' => 'SEO'], ], ])
then wrapped the formfields inside the @section('fieldsets') with
@section('fieldsets')
@formFieldset(['id' => 'baseinfo', 'title' => twillTrans('modules/programs.baseinfo'), 'open' => true]) ... @endformFieldset
An anchor navigation should be shown in form of the model.
The anchor navigation is not shown.
Twill version: 3.3.1 Laravel version: 11.22.0 PHP version: 8.3.9 Database engine: MySQL 8.0.27
Description
In the form.blade.php for a model, I defined several additionalFieldsets but the anchor navigation is not displayed.
Steps to reproduce
Go to a form.blade.php define some addtional fieldsets like
then wrapped the formfields inside the
@section('fieldsets')
withExpected result
An anchor navigation should be shown in form of the model.
Actual result
The anchor navigation is not shown.
Versions
Twill version: 3.3.1 Laravel version: 11.22.0 PHP version: 8.3.9 Database engine: MySQL 8.0.27