Changed symbol selection to a searchable dropbox
This commit is contained in:
parent
dac4a012af
commit
030531277c
6 changed files with 4255 additions and 6 deletions
|
|
@ -74,17 +74,19 @@
|
|||
$(function() {
|
||||
initDynamicModalForm("symbolModal");
|
||||
|
||||
$("#exchange").change(function() {
|
||||
$("#exchange-id").change(function() {
|
||||
var options = $("#symbol-name");
|
||||
options.empty();
|
||||
|
||||
$.each(exchangeSymbols[this.value], function(index, value) {
|
||||
options.append($("<option />").val(value).text(value));
|
||||
});
|
||||
$("#symbol-name").selectize();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="modal fade" id="symbolModal" tabindex="-1">
|
||||
<div class="modal fade" id="symbolModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue