-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Views field rewrite messy #118
Comments
<div id="edit-options-alter-text-wrapper" class="form-control form-wrapper dependent-options" style="">
<div class="form-item form-type-textarea form-item-options-alter-text form-group">
<label for="edit-options-alter-text">Text </label>
<div class="form-textarea-wrapper resizable">
<textarea rows="5" cols="60" name="options[alter][text]" id="edit-options-alter-text" class="form-control form-textarea">
</textarea>
</div>
<span class="help-block">The text to display for this field. You may include HTML. You may enter data from this view as per the "Replacement patterns" below.</span>
</div>
</div> |
@rokat where is the extra form-control? The one in edit-options-alter-text-wrapper? |
@pirog it is as you said ,in the edit-options-alter-text-wrapper, the wrapper doesn't need the form-control, only the textarea. I have found a solution. function kalatheme_process_input(&$element, &$form_state) kalatheme_process_input (it adds the form-control to both wrapper & textarea) And function kalatheme_textarea($variables) Adding form-control directly to textarea Anyway will do a pull request |
Added the pull request |
Great! I just posted some comments on the PR. It looks good but going to ask for a second set of eyes and then merge it in! thanks so much for your help! |
I updated to dev and this solved the text drop down, but the replacement patterns dropdown does not open. This is the code: The following tokens are available for this field. Note that due to rendering order, you cannot use fields that come after this field; if you need a field not listed here, rearrange your fields. If you would like to have the characters '[' and ']' please use the html entity codes '%5B' or '%5D' or they will get replaced with empty space. |
I have looked into it, the reason is the application of an extra "form-control" css on the container.
Will look where it's applied. Or if it's already patched on v4.
The text was updated successfully, but these errors were encountered: