src/MvcContrib.FluentHtml/Elements/ColorPickerBase.cs
/// <summary>
/// Add or remove the 'novalidate' attribute. 
/// </summary>
/// <param name="value">Whether to add or remove the attribute.</param>
Add or remove the 'novalidate' attribute.
Add or remove the ' novalidate ' attribute .
public virtual T Novalidate(bool value)
		{
			if (value)
			{
				Attr(HtmlAttribute.NoValidate, HtmlAttribute.NoValidate);
			}
			else
			{
				((IElement)this).RemoveAttr(HtmlAttribute.NoValidate);
			}
			return (T)this;
		}
public virtual T Novalidate ( bool value ) { if ( value ) { Attr ( HtmlAttribute . NoValidate , HtmlAttribute . NoValidate ) ; } else { ( ( IElement ) this ) . RemoveAttr ( HtmlAttribute . NoValidate ) ; } return ( T ) this ; }
Add or remove the 'novalidate' attribute.
Add or remove the ' novalidate ' attribute .
value
bool
Whether to add or remove the attribute.
Whether to add or remove the attribute .