frappe / frappe/studio

Add Events on Root Element and customisations

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
280
Forks
98
Avg merge
1d 30m
Merged PRs (30d)
11

Description

### 🛠️ Feature Request: Enhance Event Hooks, Form Controls, and Dialog Customization

#### 1. Add Root-Level Events (`onload`, `onrefresh`)
Adding lifecycle events like `onload` and `onrefresh` at the root level would help run checks (e.g., checking if a POS session is open) before loading the page. This improves flexibility and backend interaction.

#### 2. Improve Form Control Options
It would be great to support dynamic and conditional options in form inputs like `Select`. This would allow developers to adjust form inputs based on roles, backend data, or other logic.

#### 3. Make Dialog Components Customizable
Currently, dialog components are hard to customize. If we could insert or modify components inside them, it would help in creating custom modals, forms, or interactive workflows.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.