Bootstrap
Docs HomeProduct SiteSupport
  • Introduction
  • Buttons
    • Configuration
    • Data Binding
  • Checkboxes
    • Configuration
    • Data Binding
    • Events
  • Input
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Modals
    • Message
    • Error
  • Search List
    • Configuration
    • Data Binding
    • Methods
  • Select
    • Configuration
    • Data Binding
    • Events
  • Table
    • Configuration
    • Data Binding
    • Events
  • Web Components
Powered by GitBook
On this page
  1. Input

Configuration

PreviousInputNextData Binding

Last updated 2 years ago

Use the following configuration options to bind the Bootstrap Input component.

Properties

Name

Default

Description

datamap

Used to bind data to the component. See for details.

value

Value to set into the input

The following example put the value Jim Kennedy into the input text box.

const input = new wire.bsInput().render("#input", {
    value: "Jim Kennedy"
});

Note, this is a static bind. The component does not listen for changes unless the component uses for the same value..

dynamic data binding
Data Binding