bakerkretzmar / nova-settings-tool

Laravel Nova tool to view and edit application settings.
MIT License
167 stars 32 forks source link

Textarea type not working #12

Closed eimantaaas closed 5 years ago

eimantaaas commented 5 years ago

Then trying to use field type as textarea the field do not show's up on settings.

[ 'key' => 'message', 'name' => 'Notification message', 'type' => 'textarea', 'description' => 'Popup content.', ],

MaxRazen commented 5 years ago

I have the same problem

    'panels' => [
        // ...
        [
            'name' => 'Advertisement',
            'settings' => [
                [
                    'key' => 'adv_library_code',
                    'name' => 'Advertisement library code',
                    'type' => 'textarea',
                    'description' => 'test',
                ],
            ],
        ],
    ],
bakerkretzmar commented 5 years ago

I think this is because the package didn't update properly for both of you. I didn't realize Composer treats 0.x version numbers differently.

I've tagged a 2.1 release, run composer update again and this should be fixed.

MaxRazen commented 5 years ago

@eimantaaas many thanks, now it works

eimantaaas commented 5 years ago

Yes, I can confirm it's working now, thank you!