mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: add support for placeholder to text area generated for contact points (#60193)
This commit is contained in:
parent
47551c742b
commit
46e86300cb
@ -143,6 +143,7 @@ const OptionInput: FC<Props & { id: string; pathIndex?: string }> = ({
|
||||
id={id}
|
||||
readOnly={readOnly}
|
||||
invalid={invalid}
|
||||
placeholder={option.placeholder}
|
||||
{...register(name, {
|
||||
required: option.required ? 'Required' : false,
|
||||
validate: (v) => (option.validationRule !== '' ? validateOption(v, option.validationRule) : true),
|
||||
|
Loading…
Reference in New Issue
Block a user