mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 07:11:40 +02:00
Add improved form validation in color lightbox.
This commit is contained in:
parent
f8b369784f
commit
a896bb60d6
8 changed files with 53 additions and 10 deletions
|
@ -30,6 +30,8 @@
|
|||
[v]
|
||||
(not (nil? (re-find #"^#[0-9A-Fa-f]{6}$" v))))
|
||||
|
||||
(def required v/required)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Public Api
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue