fix(front): add a required attribute to the text editor and show error message if text empty on blur

Also improve text editor borders

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2024-01-09 16:10:56 +01:00
parent ef20585f8c
commit ba66874cc3
4 changed files with 48 additions and 6 deletions

View File

@@ -1642,5 +1642,6 @@
"Visit {instance_domain}": "Visit {instance_domain}",
"Software details: {software_details}": "Software details: {software_details}",
"Only instances with an application actor can be followed": "Only instances with an application actor can be followed",
"Domain or instance name": "Domain or instance name"
"Domain or instance name": "Domain or instance name",
"You need to enter a text": "You need to enter a text"
}

View File

@@ -1636,5 +1636,6 @@
"Visit {instance_domain}": "Visiter {instance_domain}",
"Software details: {software_details}": "Détails du logiciel : {software_details}",
"Only instances with an application actor can be followed": "Seules les instances avec un acteur application peuvent être suivies",
"Domain or instance name": "Domaine ou nom de l'instance"
"Domain or instance name": "Domaine ou nom de l'instance",
"You need to enter a text": "Vous devez entrer un texte"
}