Nighty Docs
  • About Nighty
  • Getting Started
    • First Launch
    • Usage Guide
  • Custom Scripts
    • Scripting Reference
  • 🛠️Troubleshooting
    • The application did not respond / Unknown Integration
    • Common solutions to all issues
    • Unable to launch
    • App is just a white box, UI not appearing / looking weird
    • Retrieving License Key
    • Flagged key
    • Rich Presence doesn't show up
  • UI SCRIPTING
    • API Reference
      • Tab
      • CardContainer
      • Card
      • Group
      • UI Elements
        • Text
        • Button
        • Input
        • Image
        • Toggle
        • Select
        • Checkbox
        • Table
Powered by GitBook
On this page
  • class UI.Input
  • Events

Was this helpful?

  1. UI SCRIPTING
  2. API Reference
  3. UI Elements

Input

PreviousButtonNextImage

Last updated 4 months ago

Was this helpful?

class UI.Input

This documentation is a work in progress. UI scripting is a new feature, and additional content is still being added. Stay tuned for updates!

Attribute
Value

label

any string Default: None

placeholder

any string Default: None

value

The input value, as a string Default: None

description

any string Default: None

show_clear_button

True | False Default: False

invalid

True | False Default: False

disabled

True | False Default: False

readonly

True | False Default: False

required

True | False Default: False

full_width

True | False Default: False

error_message

any string Default: None

margin

See . Default: "m-0"

visible

See . Default: True

Events

Event
Arguments
Description

onInput

value (string)

Triggered when typing in the input field.

Margin
Visible