Skip to main content

generated_surface_form_fields_html

Function generated_surface_form_fields_html 

Source
pub fn generated_surface_form_fields_html(
    app_root: &Path,
    state_path: &Path,
    fixture_path: &Path,
    surface_json: &str,
    context_json: &str,
    item_json: Option<&str>,
) -> Option<String>
Expand description

Renders generated-surface form controls from the app-owned form declaration.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::generated_surface_form_fields_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_form_fields_html.

§Examples

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