Add Reactive States for Field Settings in Form Builder

- Introduced new reactive states in the form-builder component to manage field settings and navigation confirmations.
- Added states for showFieldSettings, showUnsavedChangesModal, navigationConfirmed, pendingNavigation, navigationTarget, and activeSettingsTab to enhance user experience and control over form interactions.
This commit is contained in:
Md Afiq Iskandar 2025-07-07 11:34:40 +08:00
parent 99b2e43cfe
commit edaae77744

View File

@ -982,6 +982,12 @@ const showFormHistoryModal = ref(false);
const showDropdown = ref(false);
const leftSidebarTab = ref('components');
const showFieldSettingsPanel = ref(true);
const showFieldSettings = ref(false);
const showUnsavedChangesModal = ref(false);
const navigationConfirmed = ref(false);
const pendingNavigation = ref(null);
const navigationTarget = ref(null);
const activeSettingsTab = ref('info');
// Responsive device preview state
const selectedDevice = ref('Desktop');