Form Builder Util
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Feature Request
The AdminPage component comes with a `buildSettingComponent` method that converts a config object into a Flarum-specific form field. We could generalize this to an abstract form element builder component, which could help reduce boilerplate and standardize styles.
https://github.com/flarum/core/pull/2996#discussion_r691807155
Contributor guide
Research direction
Start by reading the AdminPage component and its buildSettingComponent method to understand how the current config-to-form-field conversion works. Define the scope of an abstract form element builder and confirm that it reduces the existing boilerplate while preserving standardized styles; the issue names no tests or implementation file.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100