You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nova field Currency imports from the Symfony polyfill which is bad practice as it requires the user to install the polyfill even if the intl extension is installed.
Detailed steps to reproduce the issue on a fresh Nova installation:
Replace src/Fields/Currency.php:9
Wrong: use Symfony\Polyfill\Intl\Icu\Currencies;
Correct: use Symfony\Component\Intl\Currencies;
The text was updated successfully, but these errors were encountered:
yobottehg
changed the title
Currency field is importing from Intl polyfil
Currency field is importing from Symfony/Intl polyfill but should not
Feb 8, 2024
Description:
Nova field Currency imports from the Symfony polyfill which is bad practice as it requires the user to install the polyfill even if the intl extension is installed.
If you remove your polyfills like you should
Then the nova currency field does not work.
Detailed steps to reproduce the issue on a fresh Nova installation:
Replace src/Fields/Currency.php:9
Wrong:
use Symfony\Polyfill\Intl\Icu\Currencies;
Correct:
use Symfony\Component\Intl\Currencies;
The text was updated successfully, but these errors were encountered: