File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/uploadcare-field/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ public static function make(string $name, Field $field): Input
7171 fn (Input $ component ) => Action::make ('mediaPicker ' )
7272 ->schemaComponent ($ component )
7373 ->hiddenLabel ()
74- ->tooltip (__ ('Select from Media ' ))
74+ ->tooltip (( string ) __ ('Select from Media ' ))
7575 ->icon (Heroicon::Photo)
7676 ->color ('gray ' )
7777 ->size ('sm ' )
78- ->modalHeading (__ ('Select Media ' ))
78+ ->modalHeading (( string ) __ ('Select Media ' ))
7979 ->modalWidth ('Screen ' )
80- ->modalCancelActionLabel (__ ('Cancel ' ))
81- ->modalSubmitActionLabel (__ ('Select ' ))
80+ ->modalCancelActionLabel (( string ) __ ('Cancel ' ))
81+ ->modalSubmitActionLabel (( string ) __ ('Select ' ))
8282 ->action (function (Action $ action , array $ data , Input $ component ) {
8383 $ selected = $ data ['selected_media_uuid ' ] ?? null ;
8484 if (! $ selected ) {
You can’t perform that action at this time.
0 commit comments