mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
fix: Don't truncate text label fields. (#6979)
https://groups.google.com/g/blockly/c/S5b3iKB2Sos
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user