Skip to content

Commit 009c1e2

Browse files
Fix formoj field form label
1 parent a8abdd9 commit 009c1e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Sharp/FormojFieldSharpForm.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ class FormojFieldSharpForm extends SharpForm
2121
{
2222
use WithSharpFormEloquentUpdater;
2323

24+
public function buildFormConfig(): void
25+
{
26+
$this
27+
->configureCreateTitle(trans("formoj::sharp.entities.field"))
28+
->configureEditTitle(trans("formoj::sharp.entities.field"));
29+
}
30+
2431
function buildFormFields(FieldsContainer $formFields) : void
2532
{
2633
$formFields

0 commit comments

Comments
 (0)