@availity/native-form v7.0.1
native form
Submit JSON data via a native form, not AJAX. Useful when you need to open a new page with a POST action.
Install
npm install @availity/native-form --saveUsage
nativeForm(spaceId[, params[, formAttributes][, type]]);Required params
- spaceId: String
Optional params
- params: Object. Additional parameters you want sent in the post.
- formAttributes: Object. Set/override the form attributes like
target,method, andaction.methoddefaults to "post",actionwill default to "`/ms/api/availity/internal/spc/magneto/sso/v1/saml/${spaceId}`", andtargetwill default to "_blank". Additional attributes can be defined and should be valid on an HTML form element. - type: String. Override the magneto integration type. Defaults to "saml"
import nativeForm from '@availity/native-form';
nativeForm('12312312312', {myExtraParam: 'myExtraParamValue'}, {target: '_top'});When nativeForm is called it wil create a native HTML form and submit it.
9 months ago
11 months ago
8 months ago
9 months ago
11 months ago
6 months ago
5 months ago
6 months ago
7 months ago
8 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago