2 extends DialogicVisualEditorField
4 ## Event block field for a single line of text.
10 self.placeholder_text = placeholder
14 ################################################################################
16 func _ready() -> void:
17 self.text_changed.connect(_on_text_changed)
20 func _load_display_info(info:Dictionary) -> void:
21 self.placeholder = info.get('placeholder', '')
24 func _set_value(value:Variant) -> void:
25 self.text = str(value)
28 func _autofocus() -> void:
34 #region SIGNAL METHODS
35 ################################################################################
37 func _on_text_changed(value := "") -> void:
38 value_changed.emit(property_name, self.text)