I'm working with a legacy database that has some tinytext/boolean fields that begin with "_field_name". [leading underscore] I have set casting on model to
boolean
boolean
yet they do not save/update. I cannot change the field names.
Toggle::make('_hide')->label('Hide'), //does not work
Toggle::make('_hide')->label('Hide'), //does not work
Toggle::make('test_hide')->label('Hide'), //works fine
Toggle::make('test_hide')->label('Hide'), //works fine
I think somewhere the underscore is being stripped off. Any ideas how to fix this?