Merge fix: DatePicker uses textInputEditor's Base parameter

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 12:40:53 -04:00
1 parent fd43666995
commit 227c8d1ce3
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ func DatePicker(c *ui.Context, value *Date, opts DatePickerOptions) DateTimeResu
col.Children(func() {
field = datetimeField(c, ui.Row(c), *problem != "", opts.ReadOnly)
field.Children(func() {
in := textInputEditor(c, field, text, opts.ReadOnly, false).Grow(1).Shrink(1).Placeholder(placeholder).FontFeatures("tnum")
in := textInputEditor(c, field, text, opts.ReadOnly, ui.TextInputBase).Grow(1).Shrink(1).Placeholder(placeholder).FontFeatures("tnum")
label := opts.Label
if label == "" {
label = placeholder