We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77452e5 commit 47a0543Copy full SHA for 47a0543
dist/aha-table.html
@@ -769,9 +769,10 @@
769
searchplaceholder: undefined,
770
ready: function() {
771
if (this.dataset.choices) {
772
- JSON.parse(this.dataset.choices).forEach(function(option) {
+ var choices = JSON.parse(this.dataset.choices);
773
+ for(option in choices) {
774
this.options.push({'value': option, 'label': choices[option]});
- }, this);
775
+ }
776
}
777
778
});
0 commit comments