Skip to content

Commit c59cff7

Browse files
committed
Saw the right way to do this based off field from app inventor
1 parent fbd2c0c commit c59cff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fields/FieldNonEditableText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import * as Blockly from 'blockly/core';
2424
class FieldNonEditableText extends Blockly.FieldTextInput {
2525
constructor(value: string) {
2626
super(value);
27-
this.CURSOR = '';
27+
this.EDITABLE = false; // This field is not editable
2828
}
2929

3030
protected override showEditor_() {

0 commit comments

Comments
 (0)