Tk Library Source Code

View Ticket
Login
Ticket UUID: 643337
Title: ::html::textInput does not process args
Type: Bug Version: None
Submitter: gwlester Created on: 2002-11-25 02:26:27
Subsystem: html Assigned To: gwlester
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-11-25 09:36:23
Resolution: Fixed Closed By: gwlester
    Closed on: 2002-11-25 02:36:23
Description:
The documentation for ::html::textInput reads:

::html::textInput name args
Generate an INPUT form tag with type TEXT. This uses
::html::formValue. The args is any additional tag
attributes you want to put into the INPUT tag.

However, it takes args as the value of the text entry.

For example: 

    ::html::textInput foo width=40

generates:

    <input type="text" name="foo" value="width=40"
size="45">

Instead of:

   <input type="text" name="foo"  size="45"width=40>
User Comments: gwlester added on 2002-11-25 09:36:23:
Logged In: YES 
user_id=121110

See html.tcl revision: 1.28 and html.test revision: 1.11