Skip to content

Commit

Permalink
Add docs for #219
Browse files Browse the repository at this point in the history
  • Loading branch information
superstructor committed Jan 21, 2021
1 parent cb3037a commit c176ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/re_com/misc.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

(def input-text-args-desc
[{:name :model :required true :type "string/nil | atom" :validate-fn nillable-string-or-atom? :description "text of the input (can be atom or value/nil)"}
{:name :on-change :required true :type "string -> nil" :validate-fn fn? :description [:span [:code ":change-on-blur?"] " controls when it is called. Passed the current input string"]}
{:name :on-change :required true :type "string[, done-fn] -> nil" :validate-fn fn? :description [:span [:code ":change-on-blur?"] " controls when it is called. Passed the current input string, and optionally a function to call (with no args) to signal that " [:code ":model"] " has reached a steady state to avoid displaying a prior value while processing."]}
{:name :status :required false :type "keyword" :validate-fn input-status-type? :description [:span "validation status. " [:code "nil/omitted"] " for normal status or one of: " input-status-types-list]}
{:name :status-icon? :required false :default false :type "boolean" :description [:span "when true, display an icon to match " [:code ":status"] " (no icon for nil)"]}
{:name :status-tooltip :required false :type "string" :validate-fn string? :description "displayed in status icon's tooltip"}
Expand Down

0 comments on commit c176ad7

Please sign in to comment.