Closed (fixed)
Project:
SliderField
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2015 at 13:54 UTC
Updated:
2 Jan 2017 at 07:54 UTC
Jump to comment: Most recent
Hi,
I try to use #states and show an element when sliderfield is filled. While debugging I found that the module uses hidden input element inside "webform-sliderfield" wrapper. States does not work when this input is populated. It happens because there is no keyup even, so I created a small patch that adds it.
Thanks in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| sliderfield-fix-bug-with-fapi-states.patch | 512 bytes | aprogs |
Comments
Comment #1
manuel garcia commentedWhile the patch looks like it might work for the use case in the description, it doesn't fix the underlining problem, which is that #states don't work.
For example, if the slider field should be disabled until another field is populated, etc.
Comment #2
manuel garcia commentedhUMM Nevermind me, I've just tested the disabled states on the example module and it does work, so at least that works.
Comment #4
sinasalek commentedComment #6
sinasalek commented