Skip to content

Commit

Permalink
fix: variant selection issue (frappe#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored Mar 18, 2024
1 parent 2b6abdd commit 4df9e78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webshop/templates/generators/item/item_configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ class ItemConfigure {

show_range_input_for_all_fields() {
this.dialog.fields.forEach(f => {
this.show_range_input_if_applicable(f.fieldname);
if (!["Section Break", "Coulmn Break"].includes(f.fieldtype)) {
this.show_range_input_if_applicable(f.fieldname);
}
});
}

Expand Down

0 comments on commit 4df9e78

Please sign in to comment.