Fromtill(“to”) +lags(“(proper) condition's”). Frozen expression from whentill governed the genitive.
tilllags (notcomparable)
Usually asvara någon till lags (please someone, e.g. by fulfilling their wishes).