Inline editing handlers (Week 2): per-field edit widget, update, cancel.
Inline editing handlers (Week 2): per-field edit widget, update, cancel.
(cancel-inline-edit-handler admin-service schema-provider config)Handler for GET /:entity/:id/:field/cancel - cancels inline edit.
Returns the original cell HTML without changes.
Handler for GET /:entity/:id/:field/cancel - cancels inline edit. Returns the original cell HTML without changes.
(inline-edit-widget-handler admin-service schema-provider config)Handler for GET /:entity/:id/:field/edit - returns inline edit form.
Returns HTMX fragment with form widget for editing a single field.
Handler for GET /:entity/:id/:field/edit - returns inline edit form. Returns HTMX fragment with form widget for editing a single field.
(update-field-handler admin-service schema-provider config)Handler for PATCH /:entity/:id/:field - updates single field.
Validates and updates single field, returns updated cell HTML.
Handler for PATCH /:entity/:id/:field - updates single field. Validates and updates single field, returns updated cell HTML.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |