Custom validation message?

Hi, how to change some validation message for specific form?

Invitation action form:
TextInput::make('email')
  ->unique(
    table: 'team_invitations',
    callback: fn (Unique $rule) =>
      $rule->where('team_id', getPermissionsTeamId())

I just want to make a very little change:
"The Email has already been taken invited this team"

so I think I shouldn't modify the lang file.
Was this page helpful?