OwenMelbz / nova-radio-field

Provides a radio field for laravel nova with ability to toggle field visibility.
34 stars 31 forks source link

not have readonly method within update index resource? #14

Closed xerox-xeon closed 4 years ago

xerox-xeon commented 4 years ago

readonly or disable or checked method?

RadioButton::make('server_type', 'server_type')
                ->options(static::getServerType())->default(1) // optional
                    ->withMeta(['disabled' => 'true']),
xerox-xeon commented 4 years ago

how can disable radio when update

xerox-xeon commented 4 years ago

https://github.com/OwenMelbz/nova-radio-field/pull/15