LibraryLeave App — 2. Request Leave
PROleave
Leave App — 2. Request Leave
Screen 2 of 5 of the Leave Requests mini-app: the request form. Leave type, start/end dates with an auto-computed inclusive day count and end-before-start validation — Submit Collects into the shared colLeaves as Pending.
Request leave
Paid leave▾
14/07/2026
18/07/2026
Mini-app · screen 2 of 5
MINI-APP SUITE
Leave Requests mini-app
The 5 screens share the colLeaves collection — paste them all, wire the Navigate calls, and the app works end-to-end.
YAML source
Preview — full code with PRO# Leave App 2/5 — Request Leave — PowerBlocks (PRO mini-app)
# FUNCTIONAL on paste: Submit adds the request (status Pending) to the shared
# colLeaves collection — it shows on the List and Approval screens instantly.
# The day count is computed from the two dates (end inclusive).
- LeaveNew:
Control: GroupContainer
Variant: ManualLayout
Properties:
X: =0
Y: =0
Width: =Parent.Width
Height: =Parent.Height
Fill: =RGBA(10, 10, 10, 1)
# … full component definition unlocked with PROThis is a partial preview. Unlock the full component →