Skip to content

Commit

Permalink
Fix storage getter name for radio
Browse files Browse the repository at this point in the history
  • Loading branch information
calixteman committed Jul 23, 2020
1 parent 248c43b commit e22d11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display/annotation_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ class RadioButtonWidgetAnnotationElement extends WidgetAnnotationElement {
const storage = this.annotationStorage;
const data = this.data;
const id = data.id;
const value = storage.getOrCreate(id, data.fieldValue === data.buttonValue);
const value = storage.getOrCreateValue(id, data.fieldValue === data.buttonValue);

const element = document.createElement("input");
element.disabled = data.readOnly;
Expand Down

0 comments on commit e22d11f

Please sign in to comment.