Lumeo

Inplace Editor

Edit text directly inline — click to switch between display and edit mode without navigating to a separate form.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<InplaceEditor />

When to Use

  • Inline editing where users click text to edit it directly in place
  • Quick updates to titles, names, or status fields without opening a modal
  • Editable table cells or list items for rapid data entry
  • Settings panels where values should be editable with minimal friction
John Doe

Value: John Doe

Senior Engineer
A software engineer who loves clean code.
Active

Selected: Active

This value is locked

Switch EditMode to see how the edit control changes when you click to edit.

Sample value

Value: Sample value

API Reference

InplaceEditor

Property Type Default Description
Value string? The current text value. Supports two-way binding.
EditMode InplaceEditMode Text Controls the edit control: Text, Textarea, or Select.
SelectOptions List<string>? Option list when EditMode is Select.
Placeholder string? Hint shown when value is empty.
ShowButtons bool false Show checkmark (save) and X (cancel) action buttons.
SaveOnBlur bool true Automatically save when the input loses focus.
SaveOnEnter bool true Save when Enter is pressed.
Disabled bool false Prevent editing.
OnSave EventCallback<string> Fired when the value is saved.
OnCancel EventCallback Fired when editing is cancelled.
ChildContent RenderFragment? Custom display content shown in view mode.
ValueChanged EventCallback<string?> Two-way binding callback; fires when the value is saved.
RequiredboolfalseMarks the field as required for form validation.
InvalidboolfalseApplies a destructive ring to indicate a validation error.
ErrorTextstring?nullError message shown below when Invalid is true (standalone, not inside FormField).
HelperTextstring?nullHelp text shown below when there is no error (standalone, not inside FormField).
Labelstring?nullInline label rendered above the editor (standalone, not inside FormField).
Namestring?nullHTML name attribute for form identification.
FormFieldFormFieldContext?nullCascaded context from a parent FormField; drives validation state automatically.
  • Input — Standard text input for form-based editing
  • Form — Full form layout with validation for more complex editing scenarios
  • DataGrid — Data grid with built-in inline editing for tabular data