1313)
1414from .basic_components import ButtonStyles
1515from .basic_components import ConfirmObject
16+ from .basic_components import DispatchActionConfig
1617from .basic_components import MarkdownTextObject
1718from .basic_components import Option
1819from .basic_components import OptionGroup
@@ -957,7 +958,13 @@ class PlainTextInputElement(InputInteractiveElement):
957958 @property
958959 def attributes (self ) -> Set [str ]:
959960 return super ().attributes .union (
960- {"initial_value" , "multiline" , "min_length" , "max_length" }
961+ {
962+ "initial_value" ,
963+ "multiline" ,
964+ "min_length" ,
965+ "max_length" ,
966+ "dispatch_action_config" ,
967+ }
961968 )
962969
963970 def __init__ (
@@ -970,6 +977,7 @@ def __init__(
970977 multiline : Optional [bool ] = None ,
971978 min_length : Optional [int ] = None ,
972979 max_length : Optional [int ] = None ,
980+ dispatch_action_config : Optional [Union [dict , DispatchActionConfig ]] = None ,
973981 ** others : dict ,
974982 ):
975983 """
@@ -989,6 +997,7 @@ def __init__(
989997 self .multiline = multiline
990998 self .min_length = min_length
991999 self .max_length = max_length
1000+ self .dispatch_action_config = dispatch_action_config
9921001
9931002
9941003# -------------------------------------------------
0 commit comments