First of all
Thank you very much for supporting Vue-Form-Builder, I've been stopping to improve it for months but here I am. Hopefully, this time I will regularly update the Vue Form Builder.
Apologies for all the inconvenience, guys.
Features
Server-side validation
So you will see this section in the Form Configuration
Basically, Vue Form Builder will submit a POST
request to your endpoint, then, you can validate the data from server side before Vue Form Builder submitting the form. Pretty cool, right?
If there is any error, your endpoint needs to return 422
error code, the result payload should look like this:
{
'field_key': ['error_msg_1', 'error_msg_2'],
}
If the data is all good, then return 200
, that's all.
Readonly
New attribute for the <form-renderer>
, eg:
<form-renderer
:readOnly="true"
/>
If true
, FormRenderer will render text-only (no fields) to show the data. So you would have a chance to show your form data instead of seeing input fields,...
Password
Added type password
for Input Control.
Tab Section
It's not look so pretty but feel free to improve it and send me an PR, I'll gladly merge it 😄
Minors updates
You can't ever miss it, bug fixing stuff.
Finally
That's all folks, thank you very much!