trin4ik / nova-switcher

iOS-switcher-style replacement for default Boolean field https://novapackages.com/packages/trin4ik/nova-switcher
12 stars 7 forks source link

Problem in edit mode only #10

Open AppDevXXX opened 10 months ago

AppDevXXX commented 10 months ago

Test with latest release: v4.32.11 (Silver Surfer).

When I switch to the index page, my edit is done in the backend, edit mode and database.

But if i switch in edit mode, my choice is not saved.

My column in my migration : $table->boolean('active')->default(true);

My Nova resource field : NovaSwitcher::make('Active') ->trueLabel('On') ->falseLabel('Off');

ZakariaTlilani commented 8 months ago

@trin4ik same issue : Nova v4.32.13