input: Inputs for Classless CSS Frameworks

textCLInputR Documentation

Inputs for Classless CSS Frameworks

Description

As most classless frameworks focus on HTML tags rather than CSS classes, the format of inputs is generally consistent amongst different frameworks.

Classless frameworks a lot less feature rich compared to

Usage

textCLInput(input_id, label, value = "", placeholder = "")

passwordCLInput(input_id, label, value = "", placeholder = "")

textAreaCLInput(input_id, label, value = "", placeholder = "")

numericCLInput(
  input_id,
  label,
  value = "",
  min = NULL,
  max = NULL,
  placeholder = ""
)

dateCLInput(
  input_id,
  label,
  value = "",
  min = NULL,
  max = NULL,
  placeholder = ""
)

checkboxCLInput(input_id, label, value = FALSE)

Arguments

input_id

The input slot that will be used to access the value.

label

Display label for the control

value

Initial value

placeholder

A character string giving the user a hint as to what can be entered into the control

min

Minimum valid value

max

Maximum valid value

Value

An input control that can be added to a UI definition

Examples

# Text Input
textCLInput(input_id = "text", "Text Input")

# Numeric Input
numericCLInput(input_id = "numeric", "Numeric Input")

# Date Input
dateCLInput(input_id = "date", "Date Input")


ashbaldry/classless documentation built on June 2, 2022, 12:55 a.m.