Use the following configuration options to bind the Bootstrap Input component.
Name
Default
Description
datamap
Used to bind data to the component. See Data Binding for details.
value
Value to set into the input
The following example put the value Jim Kennedy into the input text box.
Jim Kennedy
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 dynamic data bindingarrow-up-right for the same value..
Last updated 3 years ago