@visns-studio/visns-components 4.1.2 → 4.1.3
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.
- package/components/crm/Form.jsx +8 -5
- package/package.json +1 -1
package/components/crm/Form.jsx
CHANGED
|
@@ -1255,11 +1255,14 @@ function Form({
|
|
|
1255
1255
|
</button>
|
|
1256
1256
|
)}
|
|
1257
1257
|
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1258
|
+
{formSettings.hasOwnProperty('disableSave') &&
|
|
1259
|
+
formSettings.disableSave === true ? null : (
|
|
1260
|
+
<button className="btn" onClick={handleSubmit}>
|
|
1261
|
+
{formSettings?.save?.button?.label
|
|
1262
|
+
? formSettings.save.button.label
|
|
1263
|
+
: 'Save'}
|
|
1264
|
+
</button>
|
|
1265
|
+
)}
|
|
1263
1266
|
</div>
|
|
1264
1267
|
</div>
|
|
1265
1268
|
);
|
package/package.json
CHANGED