@inherits DataFilterBaseComponent @if(Control.Multiline) { } else { } @code { public string Text { get => Control.Text; set { string correctValue = value.Replace("\n", "\r\n"); Control.Text = correctValue; TextBoxChange(correctValue); } } private void TextBoxChange(string data) { Control.FilterData(); Control.OnTextChanged(null); Refresh(); } protected override string GetStyle => base.GetStyle + GetControlAlign(); }