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

Red asterix next to "AT" #24

Closed mgralikowski closed 1 year ago

mgralikowski commented 1 year ago

I discovered a very strange issue.

'locales' => [
    'en', 'at', 'pl',
],
NovaTabTranslatable::make([
    Text::make('title')->sortable(),
])->setTitle('Translations'),

A result: image

As you can see, even though I haven't marked any field as required, the "at" language has a red asterisk. What is funny this issue is strictly related to the at language code, only when is written in lowercase. Adding even a space or changing to aT fixing this issue.

There is no difference if DB or array source is used.

kongulov commented 1 year ago

@mgralikowski

Thank you very much for finding the problem! Problem solved, please update the package to the new version