2.0.0
Changed
- Replaced
customFormatter
logic withcasts
that works identical to Laravel model's cast nova_get_setting_value($key)
is nownova_get_setting($key)
nova_get_settings($keys = null)
now accepts an array of keys that define which settings to returnsetSettingsFields($fields, $customFormatter)
is nowaddSettingsFields($fields, $casts = [])
- Added
addCasts($casts = [])