% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conceptSearchModule.R
\name{conceptSearchModule}
\alias{conceptSearchModule}
\alias{conceptSearchUI}
\alias{conceptSearchServer}
\title{Concept search Shiny module}
\usage{
conceptSearchUI(id, buttonLabel = "Concept search")

conceptSearchServer(id, onConceptSelected = NULL, placeholderText = "")
}
\arguments{
\item{id}{Module namespace id.}

\item{buttonLabel}{Label for the trigger button (default \code{"Concept search"}).}

\item{onConceptSelected}{Optional function of one argument \code{conceptId}
called when user selects a concept; modal is closed after.}

\item{placeholderText}{Character string used as placeholder text in the
search input field.}
}
\description{
Reusable UI and server for searching the vocabulary (Hecate) and selecting
a concept. Shows a button that opens a modal with text input, search button,
and results in a DT table. Optional callback when a concept is selected.
}
\section{Functions}{
\itemize{
\item \code{conceptSearchUI()}: UI for the concept search: a single button that opens the search modal.

\item \code{conceptSearchServer()}: Server for the concept search modal (text input, search, DT, close).

}}
