Textarea: Error

No notes defined.

<div class="sds-textarea">
    <textarea class="form-control is-invalid" id="" rows="1" placeholder=""></textarea>

    <div class="invalid-feedback">Invalid content</div>

</div>
<div class="{{ namespace }}textarea">
	<textarea class="form-control{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}" id="{{ labelFor }}" rows="{{ rows }}" placeholder="{{ placeholder }}"></textarea>
	{% if error %}
		<div class="invalid-feedback">{{ feedback }}</div>
	{% endif %}
	{% if message %}
		{% render '@message',{classes: [namespace + "textarea__message"]},true %}
	{% endif %}
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}textarea {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    
    	/* Pseudo Elements */
    
    	&::before {
    	}
    
    	&::after {
    	}
    
    	/*
    	Include elements that are linked to the current element but have to reside at the root level of the stylesheet
    	(e.g: keyframes)
    	*/
    	@at-root {
    	}
    
    
    	/* children - write selector in full in comments in order to facilitate search */
    
    	// textarea__message
    	&__message {
    
    		// follows same logic as parent
    
    		margin-top: map-deep-get($token-spacer-stack-max-map, "sm");
    
    	}
    
    
    	/* modifiers */
    
    	// textarea -altStyle
    	&.-altStyle {
    
    		// follows same logic as base element
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/textarea/_textarea.scss
  • Filesystem Path: components/base-components/atoms/forms/textarea/_textarea.scss
  • Size: 991 Bytes