File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,29 @@ asyncSettings.dataKey
359359asyncSettings.addModalFormFunction
360360 Sets the method needed for reinstantiation of event listeners on button after asynchronous update. ``Default: false ``
361361
362+ modalForm default settings object and it's structure
363+ ****************************************************
364+
365+ .. code-block :: html
366+
367+ triggerElement.modalForm({
368+ modalID: "#modal",
369+ modalContent: ".modal-content",
370+ modalForm: ".modal-content form",
371+ formURL: null,
372+ errorClass: ".invalid",
373+ submitBtn: ".submit-btn",
374+ asyncUpdate: false,
375+ asyncSettings: {
376+ closeOnSubmit: false,
377+ successMessage: null,
378+ dataUrl: null,
379+ dataElementId: null,
380+ dataKey: null,
381+ addModalFormFunction: null
382+ }
383+ });
384+
362385Forms
363386=====
364387
You can’t perform that action at this time.
0 commit comments