SAB Form

  • The plugin is applied like that:


    1. Search for an send tag inside the page
    2. If found, get the parent form tag and add all the inputs to the form config
    3. Add the forms.js and the config to the view
    4. In forms.js for each form, form.js is used as compoent mounted to the respetive form element.
      This file has the child component send.vue, what will cause to render the send tag as vue component.

    You don't have to add v-show to the error slot, as it is only shown if status == 3


    The LORD is my strength and my shield; in him my heart trusts, and I am helped; my heart exults, and with my song I give thanks to him. Psalm 28,7

  • The plugin is applied like that:


    1. Search for an send tag inside the page
    2. If found, get the parent form tag and add all the inputs to the form config
    3. Add the forms.js and the config to the view
    4. In forms.js for each form, form.js is used as compoent mounted to the respetive form element.
      This file has the child component send.vue, what will cause to render the send tag as vue component.

    You don't have to add v-show to the error slot, as it is only shown if status == 3


    Hi Simon,


    that's where I was attempting to include the modal status screen first, but I was unable to do that from there. Error can happen so why not let it be there? The only thing I would improve on the solution would be a sexy "sending" status in the modal, that feels more like uikit integrated solution a progress bar for example. Then it should be fine it is, and can be easy customized.


    Regards,


    Sven