Tk Library Source Code

View Ticket
Login
Ticket UUID: 870429
Title: ::html::textInput does not allow overriding of input.size
Type: Bug Version: None
Submitter: mic42 Created on: 2004-01-04 17:13:45
Subsystem: html Assigned To: welch
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-07-03 03:02:28
Resolution: Fixed Closed By: mic42
    Closed on: 2006-07-02 20:02:28
Description:
Basically a trivial problem:

::html::textInput foo bar size=\"20\"

on would expect (in the generated html):

<input ... size="20"> 

but one gets:

<input ... size="45" size="20">

This is documented in the source code comments for
::html::textInput, but i think it is plain stupid:

Possible fix:
expand defaults/tagParam to handle lists of params and
use that in ::html::textInput to check for overridden
default values.

Michael
User Comments: mic42 added on 2006-07-03 03:02:28:
Logged In: YES 
user_id=302287

fixed in version 1.3.2.