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

PropDescriptionTypeDefault
footerFooter config; set to false to hide the whole footerboolean / FooterProps-
PropDescriptionTypeDefault
submitBtnWhether to show the submit buttonbooleantrue
resetBtnWhether to show the reset buttonbooleantrue
submitErrorFeedbackWhether to show the submit (onSubmit) error message as the feedback of the footer form itembooleantrue
alignFooter content alignment; right aligns to the end and moves the validation feedback to the end as well'left' | 'right''left'
prefixRenderPrefix render function(data)=>VNode-
suffixRenderSuffix render function(data)=>VNode-