7 Commits

Author SHA1 Message Date
bobo
05d8e6dda7 format file 2024-01-05 12:01:01 +08:00
bobo
7d5887e98c refactor: Enhance form and button label flexibility
- Make submit and cancel button labels optional in form and widgets
- Refactor chatmark header construction for conditional button labels
- Implement assertion for Radio widget's default_selected option
2024-01-05 12:01:01 +08:00
bobo
57da9e9841 style: Standardize button label parameters
- Add trailing commas to button name parameters in widgets
- Reformat constructor definitions for consistency
- Clean up unnecessary whitespace in widget render logic
2024-01-05 12:01:01 +08:00
bobo
21217d2bb7 feat: Add customizable button labels to forms and widgets
- Form and TextEditor classes now accept submit_button_name and cancel_button_name
- Widget's chatmark header updated with customizable submit and cancel labels
- Adjusted initialization of Checkbox and Radio classes with button label parameters
2024-01-05 12:01:01 +08:00
bobo
4ac2167146 fix: Update type hints in form.py
- Update type hints for components to use Union
- Update type hints for components method to use Union
- Fix python error
2024-01-03 17:32:15 +08:00
kagami
11420f7808 Add chatmark_example 2024-01-01 14:45:08 +08:00
kagami
7ffb03a857 Implement chatmark Form 2024-01-01 14:29:11 +08:00