Try our conversational search powered by Generative AI!

Strange behavior when adding UIHint.Textarea

Vote:
 

Hello,

I defined a new property 

[Display(
            Name = @"Description",
            Description = @"Description for OP pages",
            GroupName = BlockGroupNames.Content,
            Order = 20)]
        public virtual string Description { get; set; }

Then we put this into production. After that, we agree width the Editors we should have a text area so we modify this code to use a UIHint like:

[Display(
            Name = @"Description",
            Description = @"Description for OP pages",
            GroupName = BlockGroupNames.Content,
            Order = 20)]
        [UIHint(UIHint.Textarea)]
        public virtual string Description { get; set; }

The problem is when I go to the test server I don't see the TextArea but when I am in my local I see it.

What should I do in order to see the same TextArea in local and in test environment?

Thank you

#171920
Nov 21, 2016 16:22
Vote:
 

Might be problem with propertys not in sync? Could you have a look in adminmode to see if the contenttype is still from code or not? Also you can actually try to reset the type and property.

#173173
Dec 15, 2016 18:11
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.