From 43e7e35e7e6ebdba1cce09a0f0ca2690e55d8033 Mon Sep 17 00:00:00 2001 From: thomasbaker9010251 Date: Sat, 9 May 2026 02:01:23 -0700 Subject: [PATCH] fix(transactions): update dialog content class for new transaction view (#1693) * fix(transactions): update dialog content class for new transaction view * feat(credit_card): add validation for expiration date and update form to prevent past dates - Implemented a validation method to ensure the expiration date of credit cards is not in the past. - Updated the credit card form to set a minimum date for the expiration date field, preventing users from selecting past dates. * fix(credit_card): update expiration date validation error message format - Changed the error message assertion for the expiration date validation to check for the symbol :greater_than_or_equal_to instead of a specific date string. This improves the flexibility and clarity of the validation error handling. * fix(transactions): enhance dialog content class for improved overflow handling * rebase --------- Co-authored-by: ms1112 Co-authored-by: petermilord --- app/views/transactions/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/transactions/new.html.erb b/app/views/transactions/new.html.erb index 2e5573ac4..b2273188b 100644 --- a/app/views/transactions/new.html.erb +++ b/app/views/transactions/new.html.erb @@ -1,4 +1,4 @@ -<%= render DS::Dialog.new(scrollable: false) do |dialog| %> +<%= render DS::Dialog.new(scrollable: false, content_class: "lg:max-h-none lg:overflow-y-auto") do |dialog| %> <% dialog.with_header(title: "New transaction") %> <% dialog.with_body do %> <%= render "form", entry: @entry, categories: @categories %>