Skip to content

Currency field only shows custom symbol on forms page with dependsOn #4937

@rafaelsmith

Description

@rafaelsmith
  • Laravel Version: 9.35.1
  • Nova Version: 4.16.1
  • PHP Version: 8.1.11

Description:

Similar to this bug #2932 now it's appears with dependsOn
I can see the symbol only in Form and in the others I see $

            Currency::make(__('Total'), 'total')
                ->dependsOn(
                    ['currency'],
                    function (Currency $field, NovaRequest $request, FormData $formData) {
                        $field->symbol($formData->currency);
                    }
                )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions