diff --git a/addons/web/static/src/views/fields/progress_bar/progress_bar_field.js b/addons/web/static/src/views/fields/progress_bar/progress_bar_field.js index 67da11cb18b..ca7c78aba27 100644 --- a/addons/web/static/src/views/fields/progress_bar/progress_bar_field.js +++ b/addons/web/static/src/views/fields/progress_bar/progress_bar_field.js @@ -171,6 +171,16 @@ export const progressBarField = { type: "field", availableTypes: ["integer", "float"], }, + { + label: _lt("Overflow style"), + name: "overflow_class", + type: "string", + availableTypes: ["integer", "float"], + help: _lt( + "Bootstrap classname to customize the style of the progress bar when the maximum value is exceeded" + ), + default: "bg-secondary", + }, ], supportedTypes: ["integer", "float"], extractProps: ({ attrs, options }) => ({ diff --git a/addons/web/static/src/views/fields/text/text_field.js b/addons/web/static/src/views/fields/text/text_field.js index 26b2c664604..5ff4b8353c9 100644 --- a/addons/web/static/src/views/fields/text/text_field.js +++ b/addons/web/static/src/views/fields/text/text_field.js @@ -67,6 +67,14 @@ export class TextField extends Component { export const textField = { component: TextField, displayName: _lt("Multiline Text"), + supportedOptions: [ + { + label: _lt("Enable line breaks"), + name: "line_breaks", + type: "boolean", + default: true, + }, + ], supportedTypes: ["html", "text"], extractProps: ({ attrs, options }) => ({ placeholder: attrs.placeholder,