Lowcoder Documentation
  • Lowcoder overview
    • The "Hello World" walk
  • 🆕Setup and run
    • Cloud & Private Cloud
    • Self-hosting
      • Google Cloud Platform
      • Easypanel
      • Heroku
      • Raspberry Pi
      • Access local database or API
      • Update MongoDB Versions
      • Lowcoder Version Update
      • Traefik loadbalancer
      • SMTP Server
      • Migration from Openblocks
    • Security
  • 🏨Workspaces & Teamwork
    • Workspaces
      • Multi-Workspace Mode
      • Single Workspace Mode
    • Members and Groups
    • Permissions for Resources
    • OAuth
      • KeyCloak
      • Google
      • GitHub
      • Generic OAuth Provider
    • Query library
    • Lowcoder Marketplace
  • ✨Build Applications
    • Create a new App
      • App(s) Navigation
      • Modules
      • Version and Release Management
    • App Editor
      • Query & Editing Roundtrips
      • Bulk Editing
      • Keyboard shortcuts
      • Data selection & Javascript
      • Layers
      • Visual Components
        • Common Component Settings
        • Messages / Toast
        • Dashboard & Reporting
          • Table
          • Charts and graphs
            • Bar Chart
            • Line Chart
            • Pie Chart
            • Scatter Chart
            • CandleStick Chart
            • Funnel Chart
            • Gauge Chart
            • Graph Chart
            • Heatmap Chart
            • Radar Chart
            • Sankey Chart
            • Suburst Chart
            • Theme River Chart
            • Tree Chart
            • Treemap Chart
            • Mermaid Chart
          • Google Maps
        • Layout & Navigation
          • List View
          • Drawer
          • Modal
          • Navigation
          • Cascader
          • Tree / Tree Select
          • Link
          • Floating Button
          • Text
          • Step Control
          • Page Layout
          • Content Card
          • Tabbed Container
        • Data Collection & Forms
          • Form
          • Input Field Types
          • JSON Schema Form
        • Meeting & Collaboration
        • Project Management
        • Calendar & Scheduling
          • Calendar
          • Date & Date Range
          • Time & Time Range
        • Document & File Management
          • File upload
        • Item & Signature Handling
        • Multimedia & Animation
          • Image
        • Integration & Extension
        • Legacy & Deprecated
      • Option lists
      • Date handling
      • Use Markdown
    • App Interaction
      • Event handlers
    • Themes & Styling
      • Design an efficient and user-friendly form
      • Customize Styles
      • Component Styling Possibilities
    • Video Calls in Lowcoder
  • 🚀Connect your Data
    • Data source basics
      • Configure IP allowlists
    • Data sources in Lowcoder
      • APIs as Datasource
        • REST API
        • GraphQL
        • Google Sheets
      • SQL Databases
        • MySQL
        • MariaDB
        • Supabase
          • Supabase PostgreSQL
          • Supabase Assets API
          • Supabase RealTime
          • Supabase OAuth
        • PostgreSQL
        • Microsoft SQL Server
        • Oracle
      • NoSQL Databases
        • MongoDB
        • CouchDB
        • DynamoDB
      • InMemory Databases
        • Redis
      • File Storages
        • S3 File Storage
      • BigData & OLAP
        • Big Query
        • Snowflake
        • ClickHouse
        • Elasticsearch
      • Websocket Datasource
    • Query basics
      • Bind Query Data to Components
      • Query library
  • 🪄Workflows
    • n8n Integration
  • 💫Business Logic in Apps
    • Write JavaScript
      • JavaScript query
      • Temporary state
      • Transformers
      • Data responder
      • Built-in JS functions
  • 🙌Publish Apps
    • Share an App
    • Publish an App
    • Embed an App
      • Embed App in HTML Pages
      • Embed App in WordPress Pages
      • Embed Apps in React
      • Embed Apps in NEXT.JS
      • Native embed SDK
        • Build the SDK from Source
  • 🔥Lowcoder Extension
    • Opensource Contribution
      • Develop UI components for Apps
      • Develop Data Source Plugins
    • Use third-party libraries in Apps
      • Day.js Date handling
      • Import your own JavaScript Library
    • Custom component
    • Lowcoder Open REST API
  • Lowcoder for Enterprise
    • Custom branding
Powered by GitBook
LogoLogo

More to try...

  • Lowcoder Website
  • Free Cloud Platform
  • Github
  • Discord

© Lowcoder Software LTD

On this page
  • Component Playground
  • Component Auto-Docs

Was this helpful?

  1. Build Applications
  2. App Editor
  3. Visual Components
  4. Data Collection & Forms

Input Field Types

PreviousFormNextJSON Schema Form

Last updated 1 month ago

Was this helpful?

In Lowcoder, Input Type components are essential for capturing user data, offering a range of options to suit different data entry needs. The primary input components include:

  1. Input: A single-line text field for general text input. It's versatile and commonly used for short text entries such as names or titles.

  2. Input Number: Specifically designed for numerical data, this component ensures that only valid numbers are entered, facilitating operations like calculations or data analysis.

  3. Password: Similar to the standard Input component but masks the entered characters, enhancing security for sensitive information like passwords.

  4. Text Area: A multi-line text field suitable for longer text inputs, such as comments or descriptions, providing users with ample space for detailed information.

Common Features:

  • Customisation: Each component offers properties for customisation, including placeholder text, default values, and styling options, allowing for a tailored user experience.

  • Event Handlers: They support various event handlers like 'Change', 'Focus', and 'Blur', enabling the execution of specific actions in response to user interactions.

  • Validation: Input validation rules can be applied to ensure data integrity and provide immediate feedback to users regarding their input.

By effectively utilising these Input Type components, developers can create intuitive and user-friendly forms that cater to a wide array of data entry requirements.

Component Playground

Component Auto-Docs

Properties of the Input Type components

These properties are accessible in {{ }} notations, as well as in JavaScript Queries.

Property Name
Type
Description

value

String

Returns the value of the Input type component

disabled

Boolean

Returns True or False based on whether the Input type component is disabled or not

hidden

Boolean

Returns True or False based on whether the Input type component is hidden or not

invalid

Boolean

Returns True or False based on whether the Input type component is invalid or not

required

Boolean

Returns True or False based on whether the Input type component is required or not

placeholder

String

Returns the placeholder value of the Input type component

Events

Events give you the ability to trigger further actions (with Event-Handlers).

Event Name
Description

Change

When a User "changes" anything on the Input component.

Focus

When a User "clicks" on the input field typing area

Blur

When a User "clicks" outside of the input field component i.e, defocuses the input component.

Submit

When a User press "enters" inside the input field component.

Methods

You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.

setValue() :

input1.setValue() method sets the Input's Value property, which gets shown in the Input component.

input1.setValue("John Nick");

clearValue() :

input1.clearValue() clears the Input's Value property and empties the value from the Input component.

input1.clearValue();

resetValue() :

input1.resetValue() method resets the Input's value property to the default value of the Input component.

input1.resetValue();

setDefaultValue() :

input1.setDefaultValue() method sets the Input's Default value, which gets shown in the Input component as default.

input1.setDefaultValue("John Nick");

clearDefaultValue() :

input1.clearDefaultValue() clears the Input's Default value and empties the value from the Input component.

input1.clearDefaultValue();

resetDefaultValue() :

input1.resetDefaultValue() method resets the Input's Default value to the default value of the Input component.

input1.resetDefaultValue();

setRangeText() :

input1.setRangeText() method sets the minimum and maximum value of the inout component. Value of the Input component should lie between the minimum and maximum limits.

input1.setRangeText(3,6);

setSelectionRange() :

input1.setSelectionRange() sets the Selection Range of the Input component.

input1.setSelectionRange();

click() :

input1.click() method sets what happens when User clicks on the Input component.

input1.click();

select() :

input1.select() method selects the text type of the Input component.

input1.select();

✨
Input Component
Password Component
Number Input
Text Area Component
Input Component
Password Component
Number Input
Text Area Component