Skip to main content

options_url

Function options_url 

Source
pub fn options_url(html: &str, field: &str) -> Option<String>
Expand description

The route the choice posting field fetches its options from, as the page names it for the browser: {list}/-/options on a record form, {url}/-/actions/{name}/options on an action’s input. None when the choice fetches nothing: its options fit and it depends on no field, or no option search serves the page.