Merge pull request #14392 from snipe/fixes/removed_unneeded_starts_with_validation_string

Removed unneeded validation message
This commit is contained in:
snipe 2024-03-07 23:42:58 +00:00 committed by GitHub
commit db92febdc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,9 +31,7 @@ class SlackSettingsForm extends Component
'webhook_channel' => 'required_with:webhook_endpoint|starts_with:#|nullable',
'webhook_botname' => 'string|nullable',
];
public $messages = [
'webhook_endpoint.starts_with' => 'your webhook endpoint should begin with http://, https:// or other protocol.',
];
public function mount() {
$this->webhook_text= [