- added registartion page;

- implemented validation helper-functions;
- fixed form fields datepicker and datepicker range;
- updated routes logic;
- fixed FAQ items editing/submission;
This commit is contained in:
Vitalii Kiiko
2024-09-23 10:05:43 +02:00
parent cf149485e0
commit bbf117eb9b
58 changed files with 1238 additions and 392 deletions

View File

@@ -16,8 +16,8 @@ export default class FormsService {
NetworkService.post(`${API_BASE_URL}/form/call/${id}`, body, callback, errCallback);
};
static updateForm = (id, body, callback, errCallback) => {
NetworkService.put(`${API_BASE_URL}/form/${id}`, body, callback, errCallback);
static updateForm = (id, body, callback, errCallback, queryParams) => {
NetworkService.put(`${API_BASE_URL}/form/${id}`, body, callback, errCallback, queryParams);
};
static getFormById = (id, callback, errCallback) => {