@processmaker/screen-builder 3.2.1 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1157,6 +1157,10 @@ export default [
1157
1157
  field: "collectionmode",
1158
1158
  config: {
1159
1159
  label: "Mode",
1160
+ options: [
1161
+ { value: "Edit", text: "Edit" },
1162
+ { value: "View", text: "View" },
1163
+ ]
1160
1164
  }
1161
1165
  },
1162
1166
  ],
package/src/main.js CHANGED
@@ -163,6 +163,9 @@ window.ProcessMaker = {
163
163
  app: {
164
164
  url: `${protocol}//${hostname}:${port}` // Create a URL with the current port
165
165
  },
166
+ setValidatorLanguage(language) {
167
+ window.ProcessMaker.user.lang = 'en';
168
+ },
166
169
  apiClient: {
167
170
  create() {
168
171
  return this;