KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

TextBox #3105

Open MyU3A Incorporated opened this topic on on Jul 24, 2023 - 2 comments

MyU3A Incorporated commented on Jul 24, 2023

How do I control the TextBox size, i.e. the number of characters it can hold?

What does the TextBox property "size" do? Setting it to "sm", "md" or "lg" does not seem to change anything.

David Winterburn commented on Jul 27, 2023

--

KoolReport commented on Jul 27, 2023

The "size" property of TextBox that you mention is belongs to Dashboard Framework. The TextBox inside inputs package does not have "size" property, rather to set size of textbox you use the attributes props:

TextBox::create([
    ...
    "attributes"=>[
        "class"=>"form-control-sm" //"form-contorl-md" and // "form-control-lg"
    ]
])

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None