Modify

Opened 12 years ago

Closed 9 years 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: Rob Guttman
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 9 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

You'll need to add:

cc.clear_on_hide = false

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Rob Guttman.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.