Modify

Opened 4 years ago

Closed 14 months ago

#10059 closed defect (worksforme)

Default value of text areas and text fields are not shown when using "show_when_xxxxx"

Reported by: penta314@… Owned by: robguttman
Priority: normal Component: DynamicFieldsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Found that if I follow the examples guide with this example:

[ticket-custom]
cc.default_value = (pref)
cc.append = true

works fine,however making that field visible/invissible depending on the type, fails:

[ticket-custom]
cc.default_value = (pref)
cc.append = true
cc.show_when_type = enhancement

It makes it appear and disappear when selecting type but the default value is not shown.

Using version r11607 and trac 0.12.3

Attachments (0)

Change History (1)

comment:1 Changed 14 months ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to closed

You'll need to add:

cc.clear_on_hide = false

Add Comment

Modify Ticket

Action
as closed The owner will remain robguttman.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.