Allow forms to be editable i.e. load responses given a responseID - #335
Allow forms to be editable i.e. load responses given a responseID#335holmesadam wants to merge 4 commits into
Conversation
Add functionality to load responses into form Set a config for editable forms - when editable, the form stays visible Add config for save button position
PR Summary
|
|
|
||
| 'editable_forms' => false, | ||
|
|
||
| 'form_action_position_tailwind_class' => 'text-center', |
There was a problem hiding this comment.
kind don't like this, its means have to add a config file to the tailwind css content array. currently I recommend to publish the views and edit any needed classes. especially for the FE views.
There was a problem hiding this comment.
Thanks for the feedback - personally, I think having to maintain all the views for the sake of a button position is a bit excessive. Can you think of a middle ground?
There was a problem hiding this comment.
I get your point
how about make it null. by default, and add text-center to the blade:
config('....','text-center')
and add a comment to remind the users to add the config file to tailwind css.
There was a problem hiding this comment.
this will also assure there is no breaking change if the user didnt update the published config file
|
this would work only after saving the form right? this can be an issue when there is an extension, since the extension can display some data after saving the form, but with these changes, the user wont see the details after saving the form. |
Are you able to provide an example? I currently have this working on an embedded form which also has an extension and it works fine. Note that I'm using this by embedding the form in my own view like so: |
|
for example after submitting this form you will see https://demo.larazeus.com/bolt/printer-issues/printers-department
I was about to suggest to ignore that option if there is an |
|
HI @atmonshi - I'm just revisiting this as I'm trying to do a composer update ad getting the error: I'm wondering whether my fork is too out of date now to work with the pro version. However, I do need this PR for the project to work so I'm stuck in a loop 🤦🏻♂️ |
|
hey @holmesadam I updated the fork, it was out of date, now it should works 👍 |

Add functionality to load responses into form
Set a config for editable forms - when editable, the form stays visible
Add config for save button position