Fork me on GitHub
#fulcro
<
2020-10-15
>
njj13:10:06

Sorry for all the questions, but I can’t seem to get spec validators to work w/ my form fields where the values are things like :city :state etc.. If I make a like:

(s/def ::city (s/and string? #(not (empty? %))))
Which as “fully-qualified” keyword ends up resolving to something like:
app.ui.listing.components.space-form/city
It appears as if the validator (fs/get-spec-validity form field) isn’t picking up on them for some reason. Any ideas?