From cb09163d7dba6cd50333492bcf15c644f572d16a Mon Sep 17 00:00:00 2001 From: HalbeBruno Date: Thu, 12 Mar 2026 16:09:01 -0300 Subject: [PATCH] Implementa modal de validacao de tamanho no frontend no lugar do toast --- docker-compose.yml | 2 - resources/views/admin/orders/create.php | 90 +++++++++++++++++++++++-- 2 files changed, 83 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f2423a3..654fcea 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: app: build: diff --git a/resources/views/admin/orders/create.php b/resources/views/admin/orders/create.php index 0aadd29..a0f261a 100644 --- a/resources/views/admin/orders/create.php +++ b/resources/views/admin/orders/create.php @@ -1,4 +1,84 @@ -
+ +
+ + + +

Nova Ordem Judicial

@@ -6,7 +86,7 @@ -
+
@@ -138,9 +218,5 @@ } }); - var form = document.getElementById('orderForm'); - form.onsubmit = function () { - var content = document.querySelector('input[name=content]'); - content.value = quill.root.innerHTML; - }; + // Validator handled by AlpineJS validateForm() method. \ No newline at end of file