Popup Widget
The Popup widget creates a modal dialog that displays content over the main interface. It's built using Element UI's dialog component and provides extensive customization options for content display, validation rules, and user interactions.

Basic ConfigurationDirect link to Basic Configuration
Global SettingsDirect link to Global Settings
Name
- The display name for the popup widget
- Used for identification and reference within the interface
Variable/Model
- The name of the widget in the data of the page
- It holds neither the state of the popup nor its data: the visibility comes from the Visible rule, and the fields inside the popup keep their own variables

Content ManagementDirect link to Content Management
Dialog PropertiesDirect link to Dialog Properties
Title
- The header text displayed at the top of the popup is the Name of the widget
- It is translated by the dictionary of the page (
SF_translatefilter) - It is written as is: it does not read variables
Content Structure
- Popups contain a grid layout system (el-row/el-col)
- Can include any combination of widgets: forms, tables, buttons, text, etc.
- Widgets are rendered based on their individual validation rules
Nested Widget SupportDirect link to Nested Widget Support
The popup acts as a container for other widgets:
- Grid layouts for structured content organization
- Form elements (inputs, selects, checkboxes, etc.)
- Display widgets (text, titles, images, tables)
- Interactive widgets (buttons, drawers, other popups)
Visibility and ValidationDirect link to Visibility and Validation
Screen-Based ValidationDirect link to Screen-Based Validation
Configure different behaviors across multiple screens/contexts:
Available
- Controls whether the popup is available in specific screens
- Boolean value:
trueorfalse
Visible
- Controls when the popup is open, screen by screen
- Options:
- A switch: on, the popup opens with the page; off, it waits for the
showaction - A condition (Advanced Setting), with variables:
{{variableName}} - Complex expressions:
{{user.role}} === 'admin' && {{status}} === 'active'
- A switch: on, the popup opens with the page; off, it waits for the
- The two options do not open and close the popup in the same way: see Opening and Closing
Required and Disable
- In the panel, these two rules are not switches but a button. It opens the Apply to all Grid sub-widgets dialog, which applies the rule to the widgets inside the popup: see Grid, Section, Form, Tabs, Drawer and Popup
- They do not act on the popup itself: they neither block its opening nor make it mandatory


Advanced Visibility ConditionsDirect link to Advanced Visibility Conditions
Click Advanced Setting under the table of screens: the Visible switches become pencil buttons, and each pencil opens the Advanced Setting Condition editor for that screen.

Variable References
- Use
{{variableName}}for dynamic conditions - Access nested properties:
{{user.profile.role}} - Support for comparison operators:
===,!==,>,<,>=,<=
Complex Conditions
- Combine several tests with
&&and||:{{user.role}} === 'admin' && {{status}} === 'active'

Opening and Closing: Switch or ConditionDirect link to Opening and Closing: Switch or Condition
Since 8.6, the way the popup opens and closes depends on how its Visible rule is set on the screen:
| Visible is the switch | Visible is a condition (Advanced Setting) | |
|---|---|---|
| Opens | With the page if the switch is on, then with the show action | As soon as the condition is true |
| Closes | With its close button (the cross), the Escape key or the hide action | When the condition becomes false: the page closes it by changing the variable |
| Close button | Yes | No |
With a condition, the popup follows nothing but the condition: there is no close button, and neither the Escape key nor the show and hide actions change its state. To let the user close it, add a button inside the popup whose action changes the variable, for example with setModel.
For example, with the condition {{statut}} === 'refus_en_cours', the popup opens when statut takes this value, and a Confirm button that sets statut to another value closes it.
An empty condition counts as false, and so does a condition that fails while the page runs. A condition that is not valid JavaScript also keeps the popup closed: the page still opens and the browser console lists the condition.
In both cases, a click outside the popup does not close it.
The Drawer WidgetDirect link to The Drawer Widget
The Drawer widget follows the same rules: with a condition, it opens as long as the condition is true and has no close button; with the switch, it opens and closes with the show and hide actions and keeps its cross. In its Global card, it also has its own title and Direction (left to right or right to left). Since 8.6, a title that has never been filled in shows the Name of the widget, as for a new Drawer; before, the title stayed empty.
Styling and LayoutDirect link to Styling and Layout
Basic StylingDirect link to Basic Styling
Class Names
- Static CSS classes:
custom-popup large-modal - Dynamic classes (the brush button next to Class): A JSON object where each key is a class name and each value a condition with the variables of the interface in
{{ }}. The class is added to the popup while its condition is true, for example{ "large-modal": {{lignes}} > 10 }
Size and Positioning
- The panel has no width or height field for a popup: adjust its size with a class (Class field) and your CSS
- The popup automatically centers on screen
Behavior SettingsDirect link to Behavior Settings
Close on External Click
- Don't Close on mask click: Switch of the Style card, on for a new popup
- At runtime, a click outside the popup never closes it, whatever the value of this switch
Modal Behavior
- Blocks interaction with background content
- Provides overlay/backdrop effect
- The Escape key closes a popup whose Visible rule is the switch, not a popup driven by a condition

Event HandlingDirect link to Event Handling
Popup EventsDirect link to Popup Events
The popup has no event of its own in the configuration panel: run your actions from the widgets inside it, for example the button that closes it.
Widget EventsDirect link to Widget Events
Nested widgets maintain their individual event handlers:
- Button clicks
- Form submissions
- Data changes
- Validation events
Best PracticesDirect link to Best Practices
Performance OptimizationDirect link to Performance Optimization
- Use specific visibility conditions to avoid unnecessary renders
- Implement proper data cleanup on close
- Minimize nested widget complexity
User ExperienceDirect link to User Experience
- Provide a clear way to close the popup: with a condition it has no close button, so add a button that changes the variable
- Use appropriate sizes for content
- Implement loading states for async operations
AccessibilityDirect link to Accessibility
- Ensure keyboard navigation works properly
- Provide appropriate ARIA labels
- Maintain focus management
Data IntegrityDirect link to Data Integrity
- Validate form data before closing
- Handle unsaved changes appropriately
- Provide confirmation for destructive actions
Integration PatternsDirect link to Integration Patterns
With TablesDirect link to With Tables
- Row action popups for details/editing
- Bulk operation confirmations
- Filter/search interfaces
With FormsDirect link to With Forms
- Multi-step wizards
- Detailed input sections
- File upload interfaces
With NavigationDirect link to With Navigation
- Context menus
- Help systems
- Settings panels
The Popup widget provides a powerful foundation for creating rich, interactive modal experiences while maintaining clean separation between content and presentation logic.