armincms / json

A laravel nova field
MIT License
26 stars 2 forks source link

Json-Field doesn't work with Panels #3

Closed Brotzka closed 4 years ago

Brotzka commented 4 years ago

you can simplify your code like following:

         new Panel('Fahrzeug-Provider-Details',  Json::make('vdp_data', [
                    Select::make('Aktualisierungsintervall', 'update_interval')->options([
                        'everyMinute'           => 'Jede Minute',
                        'everyFiveMinutes'      => 'Alle 5 Minuten',
                        'everyTenMinutes'       => 'Alle 10 Minuten',
                        'everyFifteenMinutes'   => 'Alle 15 Minuten',
                        'everyThirtyMinutes'    => 'Alle 30 Minuten',
                        'hourly'                => 'Stündlich',
                        'daily'                 => 'Täglich',
                        'weekly'                => 'Wöchentlich'
                    ]),

                    Text::make('Kundennummer', 'value'), 
            ])->hideFromIndex()->toArray()),
zareismail commented 4 years ago

Hey. Thanks for reporting. It will be resolved soon!

bobbybouwmann commented 4 years ago

@zareismail You have an update on this issue? I have the same issue with the Panel.

zareismail commented 4 years ago

Hi. Thanks for reporting. resolved in release 0.5.1

zareismail commented 4 years ago

@zareismail You have an update on this issue? I have the same issue with the Panel.

resolved in release 0.5.1

bobbybouwmann commented 4 years ago

@zareismail You're fast! Awesome work man!