1

Does anyone get this weird issue when you are using <select> input tag, and inside the selec tag the the <option> tag. Everything works perfectly fine in Preview Mode but inside the Experience Editor it shows something really weird.

Here is the image to show you what I mean by this:

Console

enter image description here

View in Experience Editor

enter image description here

2 Answers 2

2

Use the below code for showing Title value in the page if you are using it under head tag:

Html.Sitecore().Field("Field Name", new { DisableWebEdit = true })

0

I fixed the issue by not using the @Html.Sitecore.Field("Title") as a field value I just used for example @item["Title"] to get the value of the item

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.