Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vue Form #2

Closed
alexfinnarn opened this issue Sep 4, 2018 · 1 comment
Closed

Add Vue Form #2

alexfinnarn opened this issue Sep 4, 2018 · 1 comment

Comments

@alexfinnarn
Copy link
Owner

I was about to make a form using the draggable JS for Backdrop but then I thought I would just add a field for each layout region like is done in Express, and then add some blocks to those fields.

However, the "Reference" module doesn't all for multiple values to be added to a field yet, so all you can do is add one block per field/region.

Rather than get into the weeds of the Form API and Backdrop JS for creating the form, why not drop in some Vue.js code to do the same thing. Hopefully, this will be more self-contained and easier to understand than whatever lurks in the Form API.

To function:

  1. A box at the top where a user can add a new block. This will open a modal with whatever content form is requested.
  2. A box for each region that contains references to blocks. The blocks can be rearranged to go into different regions. Edit and Delete buttons will open modals with forms.
  3. A save or delete button at the bottom.
@alexfinnarn
Copy link
Owner Author

Probably not gonna happen. Too much work without a base framework for Vue in Backdrop templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant