naifalshaye / toggle-switch-field

5 stars 4 forks source link

Multi toggle not working on index & details #7

Closed XYZ19991 closed 3 months ago

XYZ19991 commented 5 months ago

When i put multiple toggles on index page or detail , it only updates the first toggle

ToggleSwitchField::make(('Status'), 'status') ->color('#3AB95A') ->toggleAlign('center'), ToggleSwitchField::make(('Default'), 'is_default') ->color('#3AB95A') ->toggleAlign('center'),

naifalshaye commented 3 months ago

Hi @XYZ19991 issue is fixed, now it allow to have multiple toggle switches fields in the same nova resource.

Sorry for the delay ..