fix: Don't truncate text label fields. (#6979)

https://groups.google.com/g/blockly/c/S5b3iKB2Sos
This commit is contained in:
Neil Fraser
2023-04-16 02:34:20 +02:00
committed by GitHub
parent c458d63018
commit 2fa7280ce1

View File

@@ -31,6 +31,9 @@ export class FieldLabel extends Field<string> {
*/
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