@@ -8,7 +8,7 @@ When adding an item or a property, it needs to be kept in sync with different pl
88Lookup the [`crate::items`] module documentation.
99*/
1010use super :: {
11- EventResult , FontMetrics , InputType , Item , ItemConsts , ItemRc , ItemRef , KeyEventArg ,
11+ CapsMode , EventResult , FontMetrics , InputType , Item , ItemConsts , ItemRc , ItemRef , KeyEventArg ,
1212 KeyEventResult , KeyEventType , PointArg , PointerEventButton , RenderingResult ,
1313 TextHorizontalAlignment , TextOverflow , TextStrokeStyle , TextVerticalAlignment , TextWrap ,
1414 VoidArg , WindowItem ,
@@ -484,6 +484,7 @@ pub struct TextInput {
484484 pub vertical_alignment : Property < TextVerticalAlignment > ,
485485 pub wrap : Property < TextWrap > ,
486486 pub input_type : Property < InputType > ,
487+ pub caps_mode : Property < CapsMode > ,
487488 pub letter_spacing : Property < LogicalLength > ,
488489 pub width : Property < LogicalLength > ,
489490 pub height : Property < LogicalLength > ,
@@ -1498,6 +1499,7 @@ impl TextInput {
14981499 cursor_rect_size,
14991500 anchor_point,
15001501 input_type : self . input_type ( ) ,
1502+ caps_mode : self . caps_mode ( ) ,
15011503 }
15021504 }
15031505
0 commit comments