How to customize validation rule message?
Hi, I want to customize the message of this particular rule but I can't find it in docs.
Forms\Components\Toggle::make('default')
->label('Make it the default color combination?')
->onColor('success')
->offColor('gray')
->exists(modifyRuleUsing: function (Exists $rule) {
return $rule->where('default', true);
})
->validationAttribute('default')Forms\Components\Toggle::make('default')
->label('Make it the default color combination?')
->onColor('success')
->offColor('gray')
->exists(modifyRuleUsing: function (Exists $rule) {
return $rule->where('default', true);
})
->validationAttribute('default')