Jack
Am i misunderstanding relation managers?
Hi all,
I keep getting the below error
When trying to attach a product to my category through my CategoryResource relation manager.
Can anyone give me advise I can't see where i'm going wrong - sorry for the inconvenience.
5 replies
Disable weekends in native(false) date picker?
Hi, has anyone got a good method to disable weekends for the native(false) date picker, i've used carbon and attempted if weekday [0,6] then disable, but the date picker just chugs and takes ages to open? also makes the page unresponsive for some time when opening the picker
2 replies
Edit user
Any time I attempt to edit the user resource I receive the below error;
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'password' cannot be null
'' public static function form(Form $form): Form
{
return $form
->schema([
TextInput::make('name')->required(),
TextInput::make('email')->email(),
TextInput::make('password')->password(),
]);
}
public static function table(Table $table): Table
{
return $table
->columns([
TextColumn::make('id')->sortable()->searchable(),
TextColumn::make('name')->sortable()->searchable(),
TextColumn::make('email')->sortable()->searchable(),
TextColumn::make('status')->sortable()->searchable()
])
->filters([
//
])
->actions([
Tables\Actions\EditAction::make(),
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
]);
}''
Any ideas?
1 replies