@minecraft/server-ui / ModalFormDataTextFieldOptions
Interface: ModalFormDataTextFieldOptions
Defined in: @minecraft/server-ui/index.d.ts:1681
An interface that is passed into @minecraft/Server-ui.ModalFormData.textField to provide additional options for the textfield creation.
Properties
defaultValue?
optionaldefaultValue?:string|RawMessage
Defined in: @minecraft/server-ui/index.d.ts:1687
Remarks
The default value for the textfield.
tooltip?
optionaltooltip?:string|RawMessage
Defined in: @minecraft/server-ui/index.d.ts:1694
Remarks
It will show an exclamation icon that will display a tooltip if it is hovered.