Skip to content
Permalink
Browse files

update select field

  • Loading branch information...
aheinze committed Sep 27, 2018
1 parent 047ae6b commit c8007f3d62451d05c41bc151f6e9e5f9975e38a4
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/Cockpit/assets/components.js
  2. +1 −1 modules/Cockpit/assets/components/field-select.tag
@@ -3235,6 +3235,7 @@ riot.tag2('field-select', '<select ref="input" class="uk-width-1-1 {opts.cls}" b
var $this = this;

this.on('mount', function() {
this.refs.input.value = this.root.$value;
this.update();
});

@@ -3269,7 +3270,6 @@ riot.tag2('field-select', '<select ref="input" class="uk-width-1-1 {opts.cls}" b
})
}

this.refs.input.value = this.root.$value;
});

});
@@ -10,6 +10,7 @@
var $this = this;

this.on('mount', function() {
this.refs.input.value = this.root.$value;
this.update();
});

@@ -44,7 +45,6 @@
})
}

this.refs.input.value = this.root.$value;
});

</script>

0 comments on commit c8007f3

Please sign in to comment.
You can’t perform that action at this time.