Liking cljdoc? Tell your friends :D

com.hyperphor.way.ss-forms


aformclj

(aform object
       fields
       &
       {:keys [action edit? cancel? submit] :or {submit "Save" cancel? true}})
source

form-fieldcljmultimethod

source

form-field-rocljmultimethod

source

form-field-rowcljmultimethod

source

form-field-warningscljmultimethod

source

none-valueclj

source

select-widgetclj

(select-widget id value dispatch options prompt on-change & [disabled? styles])

Render a select widget. id: HTML id value: the current value (typically a rf/subscribe) options: a seq, each elt is either:

  • a string
  • a map of the form {:value ... :label ...}
  • a map of the form {:optgroup <name> :options <seq>} prompt: a value to display initially before a value is selected, and can be used to choose nil Note: select widget doesn't have a separate prompt, so gets added to the option list. If you don't want nil to be selectable, omit prompt (yes prompt is complecting a couple of things, but it works out)
Render a select widget.
id: HTML id
value: the current value (typically a rf/subscribe)
options: a seq, each elt is either:
   - a string 
   - a map of the form {:value ... :label ...}  
   - a map of the form {:optgroup <name> :options <seq>}
prompt: a value to display initially before a value is selected, and can be used to choose nil
  Note: select widget doesn't have a separate prompt, so gets added to the option list.
  If you don't want nil to be selectable, omit prompt (yes prompt is complecting a couple of things, but it works out)
sourceraw docstring

select-widget-optionsclj

(select-widget-options options prompt value)
source

set-elementclj

(set-element s elt in?)
source

wformclj

(wform object fields edit?)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close