From 2fa7280ce18c5f7daae4708300727889314e8f1d Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Sun, 16 Apr 2023 02:34:20 +0200 Subject: [PATCH] fix: Don't truncate text label fields. (#6979) https://groups.google.com/g/blockly/c/S5b3iKB2Sos --- core/field_label.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/field_label.ts b/core/field_label.ts index c257992ba..fb72be8a6 100644 --- a/core/field_label.ts +++ b/core/field_label.ts @@ -31,6 +31,9 @@ export class FieldLabel extends Field { */ override EDITABLE = false; + /** Text labels should not truncate. */ + override maxDisplayLength = Infinity; + /** * @param value The initial value of the field. Should cast to a string. * Defaults to an empty string if null or undefined. Also accepts