Skip to content

Commit

Permalink
fix(js): select2 readonly not working (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar authored Sep 10, 2020
1 parent 12f8b3a commit 5e89692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_appbuilder/static/appbuilder/js/ab.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ $(function() {
$('.appbuilder_date').datetimepicker({
pickTime: false });
$(".my_select2").select2({placeholder: "Select a State", allowClear: true});
$(".my_select2.readonly").select2("readonly", true);
loadSelectData();
loadSelectDataSlave();
$(".my_select2.readonly").attr("readonly", "readonly");
$("a").tooltip({container:'.row', 'placement': 'bottom'});
});

Expand Down

0 comments on commit 5e89692

Please sign in to comment.