Skip to content

Adding reactive forms (from Be Sport, extracted by Claude)#242

Merged
balat merged 10 commits intomasterfrom
forms2
Feb 27, 2026
Merged

Adding reactive forms (from Be Sport, extracted by Claude)#242
balat merged 10 commits intomasterfrom
forms2

Conversation

@balat
Copy link
Copy Markdown
Member

@balat balat commented Feb 27, 2026

No description provided.

balat and others added 10 commits February 24, 2026 11:37
Add shared reactive form widgets adapted from w_forms.eliom:
- Reactive inputs (reactify_input, reactive_input, textarea, reactive_textarea)
- Disableable button, radio buttons with reactive selection
- Checkboxes with position/style options and reactive signals
- Input validation tools with graceful invalid display (after blur)
- Enter key binding helpers (lwt_bind_input_enter, lwt_bound_input_enter)

Contribution by Be Sport
A <select> element with reactive signal tracking the selected value.
Supports programmatic selection change via the setter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
A simple on/off toggle button with reactive CSS classes
(ot-toggle-on / ot-toggle-off). No dependency on Bs_buttons.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Integer inputs with +/- step buttons using simple HTML buttons
(no Bs_icons dependency). Includes validate_as_int helper.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@balat balat merged commit b5f3654 into master Feb 27, 2026
0 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant