Interface ModalFormDataTextFieldOptionsBeta

An interface that is passed into @minecraft/Server-ui.ModalFormData.textField to provide additional options for the textfield creation.

Hierarchy

  • ModalFormDataTextFieldOptions

Properties

Properties

defaultValue?: string

Remarks

The default value for the textfield.

tooltip?: string | RawMessage

Remarks

It will show an exclamation icon that will display a tooltip if it is hovered.