Skip to content

Commit

Permalink
fix: soucery
Browse files Browse the repository at this point in the history
  • Loading branch information
rupato-deriv committed Jan 22, 2025
1 parent 84d5e1d commit 83ef1a1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/external/bot-skeleton/scratch/hooks/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,31 @@ window.Blockly.FieldDropdown.prototype.doClassValidation_ = function (newValue)
this.setText(text ?? '');
return newValue;
};

window.Blockly.FieldDropdown.prototype.doClassValidation_1 = function (newValue) {
this.text_ = null;
const text = this?.selectedOption?.[0];
this.setText(text ?? '');
return newValue;
};

window.Blockly.FieldDropdown.prototype.doClassValidation_2 = function (newValue) {
this.text_ = null;
const text = this?.selectedOption?.[0];
this.setText(text ?? '');
return newValue;
};

window.Blockly.FieldDropdown.prototype.doClassValidation_3 = function (newValue) {
this.text_ = null;
const text = this?.selectedOption?.[0];
this.setText(text ?? '');
return newValue;
};

window.Blockly.FieldDropdown.prototype.doClassValidation_4 = function (newValue) {
this.text_ = null;
const text = this?.selectedOption?.[0];
this.setText(text ?? '');
return newValue;
};

0 comments on commit 83ef1a1

Please sign in to comment.