np-form Custom Footer
Customize the footer through the footer prop.
footer.en.vue
Align Right
Set align="right" to align the footer content to the end. The validation feedback is aligned to the end as well.
footer-align.en.vue
Component Configuration
FormOption Props
| Prop | Description | Type | Default |
|---|---|---|---|
| footer | Footer config; set to false to hide the whole footer | boolean / FooterProps | - |
Footer Props
| Prop | Description | Type | Default |
|---|---|---|---|
| submitBtn | Whether to show the submit button | boolean | true |
| resetBtn | Whether to show the reset button | boolean | true |
| submitErrorFeedback | Whether to show the submit (onSubmit) error message as the feedback of the footer form item | boolean | true |
| align | Footer content alignment; right aligns to the end and moves the validation feedback to the end as well | 'left' | 'right' | 'left' |
| prefixRender | Prefix render function | (data)=>VNode | - |
| suffixRender | Suffix render function | (data)=>VNode | - |
