@visns-studio/visns-components 4.2.13 → 4.3.0
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 +9 -0
- package/package.json +1 -1
package/components/crm/Form.jsx
CHANGED
|
@@ -1287,6 +1287,15 @@ function Form({
|
|
|
1287
1287
|
</button>
|
|
1288
1288
|
) : null}
|
|
1289
1289
|
|
|
1290
|
+
{formSettings.hasOwnProperty('customButton') &&
|
|
1291
|
+
formSettings.customButton.url ? (
|
|
1292
|
+
<button className="btn" onClick={handleSort}>
|
|
1293
|
+
{formSettings.customButton.label
|
|
1294
|
+
? formSettings.customButton.label
|
|
1295
|
+
: 'Sort'}
|
|
1296
|
+
</button>
|
|
1297
|
+
) : null}
|
|
1298
|
+
|
|
1290
1299
|
<button className="btn" onClick={handleSubmit}>
|
|
1291
1300
|
{formSettings?.save?.button?.label
|
|
1292
1301
|
? formSettings.save.button.label
|
package/package.json
CHANGED