Take the community feedback survey now.

Hide and Show functionality of Inline block CMS property

Vote:
 

Hi,

I have created a Editor descriptor for Hide and show CMS property. But i am facing a challange when i am using this editor descriptor in inline block.

Like i have Model1 and Model2, Model2 is using as a inline block in model1.

 public virtual Model2 property1{ get; set; }

In Model 2, I have drop down property selectType and Range as Text field. When i will select from selectType as Range option then Range text property should visible on page reload.

 [ReloadOnChange]
 [SelectOne(SelectionFactoryType = typeof(Model2TypeSelectionFactory))]
 public virtual string SelectType { get; set; }

And

[EditorDescriptor(EditorDescriptorType = typeof(Model2EditorDescriptor))]
public virtual string Range { get; set; }
 
This is working fine when i will publish the model1 but on page reload it is not working.

Can you seggest what can i do for achieve this functionality?


Thanks,
Deepmala
#341084
Edited, Nov 24, 2025 8:44
Sunil - Nov 26, 2025 8:57
Do you see any console errors on page reload ?
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.