Skip to content

Commit 368c24c

Browse files
SettingActivity: add default_value option
1 parent 18fd3c8 commit 368c24c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/frameworks/setting-activity.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Each setting is defined as a dictionary with the following properties:
3939
- **`ui`** (string): UI type to use for editing. Options: `"textarea"` (default), `"radiobuttons"`, `"dropdown"`, `"activity"`
4040
- **`ui_options`** (list): Options for `radiobuttons` and `dropdown` UI types
4141
- **`placeholder`** (string): Placeholder text for textarea input
42+
- **`default_value`** (string): Default value to select or fill in
4243
- **`changed_callback`** (function): Callback function called when the setting value changes
4344
- **`should_show`** (function): Function to determine if this setting should be displayed
4445
- **`dont_persist`** (bool): If `True`, the setting won't be saved to SharedPreferences

0 commit comments

Comments
 (0)