Skip to content

Commit

Permalink
Make sure safeid gets brought over from PresetField -> UIField
Browse files Browse the repository at this point in the history
(closes #1129, closes #1121, closes #1058)

This was causing the fields to be classed like `form-field-undefined`
which caused some random issues where code couldn't locate a field in the DOM.
  • Loading branch information
bhousel committed Oct 23, 2023
1 parent 4cc756d commit fc27c6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/ui/UiField.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class UiField {
this.default = presetField.default;
this.key = presetField.key;
this.keys = presetField.keys;
this.safeid = presetField.safeid;
this.t = presetField.t;
this.tHtml = presetField.tHtml;
this.hasTextForStringID = presetField.hasTextForStringID;
Expand Down

0 comments on commit fc27c6e

Please sign in to comment.