class documentation
class ACMEFieldOriginator(ACMEInputField):
Constructor: ACMEFieldOriginator(originator, suggestions, requestView)
An input field for an originator in the ACME text UI.
| Method | __init__ |
Initialize the originator field. |
| Method | update |
Update the originator field. |
| Instance Variable | originator |
The originator value of the field. |
| Instance Variable | suggestions |
The suggestions for the field. |
| Instance Variable | value |
Return the value of the input field. |
Inherited from ACMEInputField:
| Class | |
The message that is sent when the input field is submitted. |
| Method | compose |
Compose the input field. |
| Method | set |
Set the label of the field. |
| Method | set |
Set the suggestions for the input field. |
| Method | show |
Show the validation feedback. |
| Async Method | submit |
Submit the input field. |
| Method | value |
Set the value of the input field. |
| Property | input |
Return the input field. |
| Property | msg |
Return the message field. |
| Instance Variable | _field |
The input view of the input field. |
| Instance Variable | _field |
The label view of the input field. |
| Instance Variable | _field |
The message view of the input field. |
| Instance Variable | _label |
The label text of the input field. |
| Instance Variable | _placeholder |
The placeholder text of the input field. |
| Instance Variable | _suggestions |
The suggestions for the input field. |
| Instance Variable | _validators |
The validators of the input field. |
| Instance Variable | _value |
The value of the input field. |
def __init__(self, originator:
str, suggestions: list[ str] = [], requestView: Widget | None = None):
¶
Initialize the originator field.
| Parameters | |
originator:str | The value of the field. |
suggestions:list[ | The suggestions for the field. |
requestWidget | None | The request view for context (to determine operation type). |
Update the originator field.
| Parameters | |
originator:str | The value of the field. |
suggestions:list[ | The suggestions for the field. |