From bed287ba3532acfcdca44b8abb8a1530b4042741 Mon Sep 17 00:00:00 2001 From: Ramadhon Ikhsan Prasetya <68982276+rmdhnkhsn@users.noreply.github.com> Date: Tue, 10 Dec 2024 16:40:10 +0700 Subject: [PATCH] task_name only word --- resources/views/content/dashboard/action.blade.php | 6 ++++++ resources/views/content/dashboard/new_task_css.blade.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/views/content/dashboard/action.blade.php b/resources/views/content/dashboard/action.blade.php index 55388ba..03cb286 100644 --- a/resources/views/content/dashboard/action.blade.php +++ b/resources/views/content/dashboard/action.blade.php @@ -246,6 +246,12 @@ setInterval(setTime, 1000); }) + function invalidSymbol() { + var str = document.getElementById("judul_"); + var regex = /[^a-z]/gi; + str.value = str.value.replace(regex ,""); + } + function checkTime(i) { if (i<10) {i = "0" + i}; // add zero in front of numbers < 10 return i; diff --git a/resources/views/content/dashboard/new_task_css.blade.php b/resources/views/content/dashboard/new_task_css.blade.php index 4250937..c893b35 100644 --- a/resources/views/content/dashboard/new_task_css.blade.php +++ b/resources/views/content/dashboard/new_task_css.blade.php @@ -14,7 +14,7 @@