Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't use mask when native input number is supported #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kernelp4nic
Copy link
Contributor

our mask doesn't support decimal values. Also extend input interface to allow others values to be passed (min, max, patterns, etc)

image

image

image

our mask doesn't support decimal values. Also extend input interface to allow others values to be passed (min, max, patterns, etc)
@kernelp4nic kernelp4nic requested a review from fapenia May 5, 2017 15:44
@@ -110,7 +110,8 @@
(defn- mask-handler-selector
[target owner state]
(condp = (:input-format state)
"numeric" :numeric
;; don't use custom mask if native control is supported
"numeric" (if (utils/browser-support-input-type? "number") :unmasked :numeric)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no entiendo la utilidad de esto, en que caso el control en clojurescript precisa esta distinción?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

digamos esto no es client-side, es en los navegadores del banco digamos

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claro, nosotros usamos los widgets desde nuestra UI, @fapenia usa su js desde el cliente

@guilespi
Copy link
Contributor

guilespi commented May 5, 2017 via email

Copy link

@fapenia fapenia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@kernelp4nic
Copy link
Contributor Author

entonces? para que es este toque?

Las condiciones no soportan valores decimales y BG no puede condicionar contra unos porcentajes. Ojo que este repo es público :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants