PowerBlocks
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.

Pro component

Subscribe to access this component and the full library.

View plans

Request leave

Paid leave
14/07/2026
18/07/2026
5 day(s) requestedSubmit request

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 PRO

This is a partial preview. Unlock the full component →

More screens

Leave App — 2. Request Leave — Power Apps Component — PowerBlocks