minor fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
(:require [reagent.core :as r]
|
||||
[clojure.string :as str]
|
||||
[react :as react]))
|
||||
(def good-% #"^\d{1,3}(?:\.\d{1,3})?$")
|
||||
(def good-% #"^\d{1,3}(?:\.\d{1,4})?$")
|
||||
|
||||
(defn -percentage-field [{:keys [min max disabled on-blur on-change value class style placeholder]}]
|
||||
(let [[ parsed-amount set-parsed-amount] (react/useState {:parsed value
|
||||
|
||||
Reference in New Issue
Block a user