F
Filamentβ€’10mo ago
Matthew

Tab blade component doesnt have schema

How can I add a schema to the tabs blade component. I couldnt find anything in the documentation....
<x-filament::tabs>
<x-filament::tabs.item :active="$activeTab === 'tab1'" wire:click="$set('activeTab', 'tab1')">
Tab 1
</x-filament::tabs.item>

<x-filament::tabs.item :active="$activeTab === 'tab2'" wire:click="$set('activeTab', 'tab2')">
Tab 2
</x-filament::tabs.item>

<x-filament::tabs.item :active="$activeTab === 'tab3'" wire:click="$set('activeTab', 'tab3')">
Tab 3
</x-filament::tabs.item>
</x-filament::tabs>
<x-filament::tabs>
<x-filament::tabs.item :active="$activeTab === 'tab1'" wire:click="$set('activeTab', 'tab1')">
Tab 1
</x-filament::tabs.item>

<x-filament::tabs.item :active="$activeTab === 'tab2'" wire:click="$set('activeTab', 'tab2')">
Tab 2
</x-filament::tabs.item>

<x-filament::tabs.item :active="$activeTab === 'tab3'" wire:click="$set('activeTab', 'tab3')">
Tab 3
</x-filament::tabs.item>
</x-filament::tabs>
https://filamentphp.com/docs/3.x/support/blade-components/tabs
5 Replies
Matthew
MatthewOPβ€’10mo ago
Or at the very least content
Matthew
MatthewOPβ€’10mo ago
Ok, I changed my mind πŸ˜…. I dont want to add a form, but content in general. You see here is an example of a custom widget
No description
Matthew
MatthewOPβ€’10mo ago
I want to do something similar, but with tabs
toeknee
toekneeβ€’10mo ago
So use a form which is disabled? then you can use tabs etc natively?
Want results from more Discord servers?
Add your server