Opened 15 years ago

Closed 15 years ago

#3026 closed defect (fixed)

[SerializableTextbox] &=Iowa; blank names being submitted

Reported by: haysmark Owned by: haysmark
Priority: high Milestone: 0.9beta
Component: Widgets Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


SerializableTextbox? just sets the name of the textbox to ""; this causes it to be submitted. It should remove the name attribute from the DOM so it does not get submitted, like in Select.

Change History (1)

comment:1 Changed 15 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [8632]) Fixes #3026. Proxy commit for haysmark. Fixes several problems found by bill during a code review. Fixes several style problems. SerializableTextbox? no longer submits the contents of the textbox with a blank name (it no longer submits that value at all). Pulled AutoCompleter? code out into a AutoCompleterMixin?; both AutoCompleter? and Select inherit from AutoCompleterMixin?. AutoCompleter? inherits from ValidationTextbox? and AutoCompleterMixin?. Select inherits from SerializableTextbox? and AutoCompleterMixin?; reuses SerializableTextbox? hidden input field. Moved setValue in callbackSetLabel inside if.

Note: See TracTickets for help on using tickets.