kongulov / nova-tab-translatable

This package contains a NovaTabTranslatable class you can use to make any Nova field type translatable with tabs.
MIT License
79 stars 17 forks source link

The "help" text does not render #36

Closed mgralikowskifrontkom closed 11 months ago

mgralikowskifrontkom commented 1 year ago

Hi,

this function: https://nova.laravel.com/docs/resources/fields.html#field-help-text doesn't work when tabs are used. I don't see any change in the result HTML when the help() method is used. Moving the field outside translatable tabs makes it work.

kongulov commented 1 year ago

Hi @mgralikowskifrontkom

Can you please describe the problem in more detail? Can you send a sample code? for me to reproduce the error

mgralikowskifrontkom commented 1 year ago

Here you are:

public function fields(Request $request): array
{
    return [
        NovaTabTranslatable::make([Text::make('Foo')->help('Display me please')])
    ];
}
kongulov commented 1 year ago

@mgralikowskifrontkom

And please write which version of nova and packages you are using

mgralikowskifrontkom commented 1 year ago

I tried the most recent version.

kongulov commented 11 months ago

@mgralikowskifrontkom

Thank you very much for finding the problem! Problem solved (https://github.com/kongulov/nova-tab-translatable/commit/adaa4f2c8d0aebb77d74e788f0e7fa7be017368f), please update the package to the new version (2.1.3)