© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
16 replies
bwurtz999

Nested Disabled Checks

Is there something wrong with doing something like this:

Section::make('Info')
  ->disabled(function () {
      return someValue == 1;
    }
  ->schema([
      Select::make('some_other_value)
        ->disabled(function () {
          return someOtherCheck == 1;
        })
    ])
Section::make('Info')
  ->disabled(function () {
      return someValue == 1;
    }
  ->schema([
      Select::make('some_other_value)
        ->disabled(function () {
          return someOtherCheck == 1;
        })
    ])


Basically, I'm trying to use
disabled
disabled
on an entire Section and then again on specific parts of that section. It's behaving very odd. I'm getting
Uncaught TypeError: Cannot read properties of null (reading '__livewire')
Uncaught TypeError: Cannot read properties of null (reading '__livewire')
errors in the console. And the disable feature isn't working properly
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Page scroll disabled after closing nested modals
FilamentFFilament / ❓┊help
3y ago
Disabled tab
FilamentFFilament / ❓┊help
3y ago
Form disabled
FilamentFFilament / ❓┊help
3y ago
Section disabled() / notClicable() ? ^^
FilamentFFilament / ❓┊help
12mo ago