apache / apache/grails-core

Provide mechanism to pass attributes to specific widgets

Open
#14,198 0 comments 0 reactions 0 assignees View on GitHub
relates-to: grails-fields
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

Currently you can pass attributes to widgets via `widget-`, but that passes to all widgets.

This should be refined to pass attributes to specific widgets.

E.g. `widget-checkBox-class`, `widget-datePicker-class`

Contributor guide

Open the contributing guide

Research direction

Start by locating the code that handles the existing `widget-` attributes and how widget names such as `checkBox` and `datePicker` are resolved. Trace the current propagation path, then define the expected behavior for widget-specific keys like `widget-checkBox-class` and verify that attributes no longer apply to unrelated widgets.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.