remove events from text_area
This commit is contained in:
parent
06ec5d1b6e
commit
693159cfd4
@ -6,7 +6,6 @@ from reflex.components.component import Component
|
||||
from reflex.components.core.breakpoints import Responsive
|
||||
from reflex.components.core.debounce import DebounceInput
|
||||
from reflex.components.el import elements
|
||||
from reflex.event import EventHandler, input_event, key_event
|
||||
from reflex.vars.base import Var
|
||||
|
||||
from ..base import (
|
||||
@ -82,21 +81,6 @@ class TextArea(RadixThemesComponent, elements.Textarea):
|
||||
# How the text in the textarea is to be wrapped when submitting the form
|
||||
wrap: Var[str]
|
||||
|
||||
# Fired when the value of the textarea changes.
|
||||
on_change: EventHandler[input_event]
|
||||
|
||||
# Fired when the textarea is focused.
|
||||
on_focus: EventHandler[input_event]
|
||||
|
||||
# Fired when the textarea is blurred.
|
||||
on_blur: EventHandler[input_event]
|
||||
|
||||
# Fired when a key is pressed down.
|
||||
on_key_down: EventHandler[key_event]
|
||||
|
||||
# Fired when a key is released.
|
||||
on_key_up: EventHandler[key_event]
|
||||
|
||||
@classmethod
|
||||
def create(cls, *children, **props) -> Component:
|
||||
"""Create an Input component.
|
||||
|
Loading…
Reference in New Issue
Block a user