Closed
Description
Description of the issue
I added a virtual field that should only be shown when a certain condition is true. Much to my dismay I discovered that Virtual Fields can't be hiddden. Neither the Hide-Flag in the Field Properties nor the js-Functions set_df_property() and toggle_display() actually hide a virtual field.
Context information (for bug reports)
See field "virtuell" in json-File.
test_4dev.json
Output of bench version
erpnext 14.48.1
frappe 14.55.0
hrms 14.16.1
Steps to reproduce the issue
- Add a Virtual Field with any Option to a Doctype, set Hidden Flag
- Go to Form View: Virtual Field is still visible
- Try to hide Virtual Field with javascript, use set_df_property() and toggle_display()
Observed result
Virtual Field stays visible
Expected result
Virtual Field is hidden
Stacktrace / full error message
Does not occur
Additional information
OS version / distribution, Frappe
install method, etc.
debian buster, manual install