-
Notifications
You must be signed in to change notification settings - Fork 57
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
UI Factory - Forms - Feature, improvement requests #367
Comments
bkamapantula
added a commit
that referenced
this issue
Feb 4, 2021
- fixes bug 4 in #367 - compact yaml config - introduces viewform.html, viewform.js instead of view.html, form.html, view-form.js, preview-form.js
|
sanand0
pushed a commit
that referenced
this issue
Feb 8, 2021
* FXD: initialize forms on app import or on demand - forms.db and necessary tables (analytics and forms) need to be created before forms app can be used. - /configure will test for database and table (forms) and create tables (forms, analytics) if necessary. - scheduler creates database and tables (forms, analytics) on startup. Without this, forms app wouldn't work. * FXD: use formhandler columns to initiate table creation - remove create_form_tables utility that uses queries - introduce formhandler columns-based table creation for `analytics` and `forms` tables - downstream impact: update data-source for `.formhandler()` in form.html - disable mouse events while previewing the form at `/form/id` * FXD: remove form table creation scheduler * FXD: remove nosuchtableerror import as it's no longer used * FXD: remove sqlite3, re dependencies * FXD: merge form.html and view.html in one file - fixes bug 4 in #367 - compact yaml config - introduces viewform.html, viewform.js instead of view.html, form.html, view-form.js, preview-form.js * WIP: background color attribute * ENH: capture background color of form * DOC: note on the use of .html() - forms * FXD: account for missing background attribute while page loads * FXD: build errors
|
Features 1 (duplicate field) and 2 (JSON form rendering) |
Feature 5 (fork a form) is now available in sa-form-components branch. |
Features 4 (custom HTML) and 6 (refactor without .form-group) are now available in sa-form-components branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Improve Forms builder from a usability standpoint.
Describe the solution you'd like
Desired features are described below.
Features
Copy or Clone fields
Elaborating on the Copy/Clone field. A new element containing these options can wrap the field when clicked for setting its properties: clone, delete, required
Render form from JSON
.user-form
is rendered by a saved HTML string. We also save its corresponding JSON configuration. Use it instead to render the form.Name attribute editing
Custom HTML field
Fork a form
Restructure without
.form-group
.form-group
container for form fields to work.Components
md
,lg
,sm
classesOther features
Bugs, improvements
path/to/forms/form/id
page. Preview page (for form submission) should retain the background color.path/to/forms/form/id
. make it prominent, next to Edit field?form.html
andview.html
should use the same source code templatecreate.html
andscript.js
and make it auto-discoverablescript.js
on why.html()
is required (in.edit-properties
change event)select
attribute.Describe alternatives you've considered
NA
Additional context
NA
The text was updated successfully, but these errors were encountered: