pelmered / filament-money-field

Money field powered by Money PHP
MIT License
54 stars 20 forks source link

Allow overwriting the form field label #31

Closed FinnPaes closed 5 months ago

FinnPaes commented 5 months ago

First of all, thanks for making this great package! I got a small improvement here that allows you to overwrite the label of the form field using the ->label(...) method on the form field.

pelmered commented 5 months ago

Ah, yes. That was an oversight from me. Thank you!

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 99.40%. Comparing base (1b3586b) to head (12473fe). Report is 2 commits behind head on main.

Files Patch % Lines
src/Forms/Components/MoneyInput.php 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #31 +/- ## ============================================= - Coverage 100.00% 99.40% -0.60% - Complexity 41 42 +1 ============================================= Files 10 10 Lines 166 168 +2 ============================================= + Hits 166 167 +1 - Misses 0 1 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pelmered commented 5 months ago

This is now fixed in version 1.3.1.