blockly > Field > enabled_
Field.enabled_ property
Can the field value be changed using the editor on an editable block?
Signature:
protected enabled_: boolean;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["This documentation focuses on the `enabled_` property of the `Field` class in Blockly."],["The `enabled_` property, of boolean type, dictates whether the field's value can be modified within the Blockly editor when the block is editable."]]],["The `Field.enabled_` property, a protected boolean, determines if a field's value can be modified within the editor of an editable block. If `enabled_` is true, the field is editable; if false, the field cannot be changed directly through the block's editor. This property controls the user's ability to alter the field's value.\n"]]