From 31a3aaf216cdf31f8f809ba8666503a4a8b7d47f Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 9 Apr 2024 13:52:04 +0300 Subject: [PATCH] limit address length to 1024 --- src/Entry/Address.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Entry/Address.php b/src/Entry/Address.php index d9b5cfe..46e084b 100644 --- a/src/Entry/Address.php +++ b/src/Entry/Address.php @@ -16,5 +16,9 @@ class Address $this->entry->set_text( $value ); + + $this->entry->set_max_length( + 1024 + ); } } \ No newline at end of file