A method of forming and the resulting bioadhesive hydrogel composition for repairing or supplementing a nucleus pulposus of an intervertebral disc comprises at least a first component, a second component and a third component, wherein the first component, the second component and the third component are crosslinked. The first component comprises an amine-containing polymer component at a concentration from about 0.1% weight by weight to about 13.65% weight by weight. The second component comprises a hydrophilic polymer or pre-polymer component at a concentration from about 3% weight by weight to about 35% weight by weight. The third component comprises an aldehyde component at a concentration from about 0.1% weight by weight to about 30% weight by weight. A method of repairing or supplementing a nucleus pulposus of an intervertebral disc comprises implanting the bioadhesive hydrogel composition in a patient.