Closed (fixed)
Project:
Dependent Fields
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2011 at 08:33 UTC
Updated:
28 Aug 2011 at 10:21 UTC
got this error when i made a text field with text input a dependent field. it works fine when using the select widget.
is there a way to display the textfield with any allowed values?
Comments
Comment #1
yechuah commentedi modified 1.x-dev to handle textfields
https://github.com/yec/dependent-fields
Comment #2
smoothify commentedMerging a few issues related to the text field implementation, which needs to be improved to allow more functionality and fix some bugs.
Marking this one as a duplicate to help me clear up the queue.
#1050622: Improve text field implementation & fix bugs
Comment #3
smoothify commentedI think I was a bit too quick in merging the issues.
This one was easy to fix in isolation, with just a little change to the code.
http://drupal.org/cvs?commit=501682
I have checked your github fork, and although not covered here, I will be making the help & descriptions clearer in the UI to reflect the different types of fields and widgets.
Comment #5
shashankmestry commentedHi,
Thanks for your text-field feature support.
But it has one issue.
The dependent text field receives text of only one character i.e. of length 1. The remaining characters are truncated.
e.g. If I enter 'drupal' in dependent text field then it stores on 'D' in that field.
Please help me in this case.
Comment #6
cj-a-min commentedGetting the same as shashankmestry.
test1 field (controller) - text field type - text field
test2 field (controlled) - text field type - text field
I input 'Drupal' in test1 field, and test1 field doesn't display (which I assume is per design), and test2 field displays a gibberish character, 'f'.
I input 'Drupal' in test2 field, and test1 field doesn't display (which I assume is per design), and test2 displays 'D' in the field. - Same shashankmestry describes above.
Any Ideas