Commit graph

68 commits

Author SHA1 Message Date
Shariq Ansari
f98af2e67a fix: redirect and open new doctype dialog if route to /doctype/new 2024-02-03 12:35:09 +05:30
Ankush Menat
c7e5afee6a refactor: Use arr.includes(item) instead of in_list(arr, item) 2023-12-27 19:33:13 +05:30
RitvikSardana
89dbb42f6f fix: link field shown only for Link fieldtype 2023-11-23 13:12:16 +05:30
RitvikSardana
0c4245634f
feat: Apply Filters to Link Fields Via Form Builder (#22844)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2023-11-15 11:34:19 +05:30
Shariq Ansari
211740315b fix: do not delete tab/section/colum/field if pressing delete to edit properties or label 2023-11-01 00:13:34 +05:30
Shariq Ansari
244b2cbb60 fix: minor fix 2023-10-30 18:26:33 +05:30
Shariq Ansari
afc3babbf9 refactor: remove/add tab 2023-10-30 17:43:06 +05:30
Ankush Menat
a3db75e161
fix: use frm.set_value for updating fields (#22860)
Just updating frm.doc object doesn't update the underlying model. In Frappe `frm.doc` is NOT the primary representation or source of truth for better or worse.
2023-10-23 14:14:30 +05:30
Shariq Ansari
f8c090ffa8 fix: load doctype model instead of using frappe.model.with_doctype 2023-10-11 15:01:26 +05:30
Shariq Ansari
05adc0b777 fix: Unable to create doctype using 'Copy To Clipboard' 2023-08-21 12:01:56 +05:30
Shariq Ansari
b3333b803c fix: throw error and store save if validation fails 2023-07-16 13:24:24 +05:30
Shariq Ansari
07a4aa5046 fix: separate new field name for customize form & doctype form 2023-07-12 12:39:02 +05:30
Shariq Ansari
1aff1a8f24 fix: commonify update fields for customize form and doctype form 2023-07-12 12:38:05 +05:30
Shariq Ansari
98bedb7058 fix: compare with a deep copy version of dfs 2023-07-10 19:09:58 +05:30
Shariq Ansari
c694d2f1e8 fix: removed unused code 2023-07-10 17:35:49 +05:30
Shariq Ansari
4d282f1d91 fix: separate undo redo functionally for doctype form and form builder 2023-07-10 17:20:31 +05:30
Shariq Ansari
4d5322cc1a fix: removed reset changes btn 2023-07-10 16:44:51 +05:30
Shariq Ansari
0919306f40 fix: clear Not Saved indicator only if doctype properties were not changed 2023-07-10 16:44:51 +05:30
Shariq Ansari
2fe91f93de fix: make form undirty on fetch 2023-07-10 16:44:51 +05:30
Shariq Ansari
b225bd22fe fix: set default name only for new fields 2023-07-10 16:44:51 +05:30
Shariq Ansari
5db44e858b fix: validate before saving 2023-07-10 16:44:51 +05:30
Shariq Ansari
63fa87d2b4 fix: update fields before save
set default name to fields if not set
2023-07-10 16:44:51 +05:30
Shariq Ansari
670dc7b322 fix: load new doctype with one field without name 2023-07-10 16:44:50 +05:30
Shariq Ansari
e08a474cd6 fix: send frm to form builder to control frm properties 2023-07-10 16:44:50 +05:30
Shariq Ansari
b661500c65 revert: form builder breadcrumbs creation 2023-06-14 18:30:44 +05:30
Sagar Vora
345da6e314
feat: support reordering standard fields in Form Builder (#21297) 2023-06-09 12:19:30 +05:30
Shariq Ansari
1e47282d86 fix: only init doctype for doctype form 2023-05-27 14:46:43 +05:30
Shariq Ansari
b308e000ef fix: init doctype to trigger doctype_list events on redirecting 2023-05-27 13:00:31 +05:30
Shariq Ansari
bd12e1968b chore: Customize Form will open for current doctype is self explanatory in breadcrumbs 2023-05-15 18:08:23 +05:30
Shariq Ansari
8202f1218d fix: added breadcrumbs on form builder page 2023-05-15 16:28:42 +05:30
Shariq Ansari
9037c4140c fix: form_builder undo_redo event is interfering with workflow_builder's undo_redo event 2023-05-02 20:27:14 +05:30
Shariq Ansari
92cb61fb3d fix: syntax fix causing issue while opening customize form in form builder 2023-02-21 22:36:52 +05:30
Shariq Ansari
0866a7003e fix: single store state for all undo/redo related changes 2023-02-21 21:44:54 +05:30
Shariq Ansari
b143194803 feat: undo/redo 2023-02-20 18:10:15 +05:30
Shariq Ansari
3a4516e97c fix: renaming local variable to avoid overlap with global store variable 2023-02-20 17:07:02 +05:30
Shariq Ansari
7f73906528 fix: switching from option store syntax to setup store syntax 2023-02-20 13:19:20 +05:30
Shariq Ansari
b3f9e69a6e fix: use frappe.desk.form.save.savedocs instead of frappe.client.save for saving 2023-01-18 22:49:05 +05:30
Shariq Ansari
6587d4b16e fix: do not consider first column if label is not set 2023-01-02 20:58:37 +05:30
Shariq Ansari
76b5791b49 fix: validate before saving 2022-12-01 19:53:48 +05:30
Shariq Ansari
2e9dcc5912 revert: cannot drag alert on dragging standard fields
not working as expected
2022-12-01 15:55:29 +05:30
Shariq Ansari
82ad3fa73d fix: dynamically get fetch_form doctype & fieldnames as select field 2022-12-01 02:17:59 +05:30
Shariq Ansari
c3afd003d4 fix: check if field has standard field not if field is custom 2022-11-17 11:54:17 +05:30
Shariq Ansari
95c55fa00d fix: tab containing standard fields was draggable in customize form 2022-11-17 11:48:22 +05:30
Shariq Ansari
15fa4bb160 feat: preview mode 2022-11-17 00:04:22 +05:30
Shariq Ansari
a9ff1269db fix: drag animation & cannot drag alert on dragging standard fields 2022-11-16 21:32:44 +05:30
Shariq Ansari
63ea37a6d4 feat: move current field/column/section and the following to a new column/section/tab 2022-11-10 22:37:17 +05:30
Shariq Ansari
cb108e7718 fix: do not remove first section/tab if edited 2022-11-09 14:08:27 +05:30
Shariq Ansari
690bddb2ca fix: keep first column if its is empty 2022-11-08 13:19:18 +05:30
Shariq Ansari
8a252d237c fix: remove empty sections while loading and saving 2022-11-08 13:09:39 +05:30
Shariq Ansari
40ed4100bc fix: if error occurred save button gets disabled 2022-11-07 20:45:36 +05:30