Unable to set checkbox default value to true

I have this but it's unchecked:
Forms\Components\Checkbox::make('is_admin')
    ->inline(true)
    ->default(true)

It's unchecked. How to make it checked by default?
Solution
Hmm, perhaps it was because I haven't added the new field is_admin in the migration and Filament seems to need that to work. After migration it seems to be working I guess.
Was this page helpful?