Skip to main content

generated_surface_select_options_html

Function generated_surface_select_options_html 

Source
pub fn generated_surface_select_options_html(
    app_root: &Path,
    field_json: &str,
    selected_value: Option<&str>,
) -> Option<String>
Expand description

Renders select options from one generated-surface field declaration.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::generated_surface_select_options_html can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::generated_surface_select_options_html.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::generated_surface_select_options_html(std::path::Path::new("apps/dev_docs"), todo!(), todo!());