Merge branch 'worktree-agent-ad7403b5194d75449'
This commit is contained in:
15 files changed
+154
-36
No files matched your search
@@ -152,7 +152,7 @@ func (g *gallery) formFields(c *ui.Context, f *mujica.FormScope, log func(string
|
||||
if r.Changed() {
|
||||
log("debut " + s.debut.Format("2006-01-02"))
|
||||
}
|
||||
return r.Element
|
||||
return r.Input
|
||||
})
|
||||
mujica.FormItem(f, "roles", &s.tags, mujica.FormItemOptions[[]string]{Label: g.t("Roles", "担当"), Required: true,
|
||||
Description: g.t("Up to 4; press Enter after each.", "最多 4 个;每个后按 Enter。")}, func() *ui.Element {
|
||||
|
||||
@@ -102,7 +102,7 @@ func TestCompositeFormInvalidThenValid(t *testing.T) {
|
||||
tt.Type("Mortis")
|
||||
click(t, tt, "Password")
|
||||
tt.Type("hunter22secret")
|
||||
click(t, tt, "Select date") // the date field itself; its FormItem label focuses the picker's column
|
||||
click(t, tt, "Debut date") // the FormItem label now reaches the picker's text box
|
||||
tt.Type("2026-12-24")
|
||||
tt.Key(0, ui.KeyEnter)
|
||||
click(t, tt, "Roles")
|
||||
|
||||
Reference in new issue
Block a user