protected function getCompiledAttributes($prependClass = "", $skipValue = false) {
        $attrs = "";
        if($this->id) $attrs .= " id='$this->id'";
        $attrs .= " class='$prependClass $this->class'";
        if($this->name) $attrs .= " name='$this->name'";
        if($this->placeholder) $attrs .= " placeholder='$this->placeholder'";
        if($this->value && !$skipValue) $attrs .= " value='$this->value'";
        if($this->disabled === true) $attrs .= " disabled";
        if($this->readonly === true) $attrs .= " readonly";
        if($this->required === true) $attrs .= " required";
        
        // Trim and return the compiled attributes
        return rtrim(ltrim($attrs));
    }