|
|
|
@ -3880,6 +3880,7 @@ Attributes:
|
|
|
|
|
If it returns false, the character is ignored.
|
|
|
|
|
:on_change: Change notification callback; used as ``on_change(new_text,old_text)``.
|
|
|
|
|
:on_submit: Enter key callback; if set the field will handle the key and call ``on_submit(text)``.
|
|
|
|
|
:on_submit2: Shift-Enter key callback; if set the field will handle the key and call ``on_submit2(text)``.
|
|
|
|
|
:key: If specified, the field is disabled until this key is pressed. Must be given as a string.
|
|
|
|
|
:key_sep: If specified, will be used to customize how the activation key is
|
|
|
|
|
displayed. See ``token.key_sep`` in the ``Label`` documentation below.
|
|
|
|
|