Skip to content

Commit

Permalink
[11.0][FIX] website_form_builder: Fix modal select view
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-teruel committed Jun 5, 2019
1 parent 81b336b commit 76f84b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
}
}

body .modal.o_website_modal {
/* Make modals with multiselect with a usable height */
body .modal.o_technical_modal {
textarea, select[multiple] {
&.form-control {
height: auto;
background: None;
}
}
}
2 changes: 1 addition & 1 deletion website_form_builder/static/src/xml/widgets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<form>
<div class="form-group">
<label for="field">Choose the new field for the form</label>
<select id="field" class="form-control" multiple="">
<select id="field" class="form-control" multiple="1" size="6">
<t t-foreach="widget.sorted_fields()" t-as="field_pair">
<option t-att-value="field_pair[1]">
<t t-esc="field_pair[0]"/>
Expand Down

0 comments on commit 76f84b7

Please sign in to comment.