From c25a2e49be1ca8791cdf3b0bf0e5ec1076a4e505 Mon Sep 17 00:00:00 2001 From: ramon Date: Thu, 1 Aug 2024 12:45:59 +1000 Subject: [PATCH] Add a max length to the post password field. --- packages/editor/src/components/post-status/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/editor/src/components/post-status/index.js b/packages/editor/src/components/post-status/index.js index d0b5ac9397733..ca89e40366b23 100644 --- a/packages/editor/src/components/post-status/index.js +++ b/packages/editor/src/components/post-status/index.js @@ -254,6 +254,7 @@ export default function PostStatus() { id={ passwordInputId } __next40pxDefaultSize __nextHasNoMarginBottom + maxLength={ 255 } /> ) }