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

Dropkick exclude "option selected" value within drop down #309

Closed
benlevydesign opened this issue Sep 3, 2015 · 0 comments
Closed

Dropkick exclude "option selected" value within drop down #309

benlevydesign opened this issue Sep 3, 2015 · 0 comments

Comments

@benlevydesign
Copy link

Dropkick inside modal window doesn't consider height of element and open in the direction with enough space. You can see it happen here

screen shot 2015-09-03 at 10 31 50 am

Also, Is it possible to exclude the "option selected" value from within the drop down.
For example this: ( In my example below $priority is <option value="None">None</option> )

<div class="flex">
    <div class="flexbox flex">Edit location priority:</div>
    <div class="formsize">
        <div class="form-select">
        <select class="priority toggle-spinner" name="priority[1]">
        <option selected value="<?php echo $priority ?>"><?php echo $priority?></option>
        <option value="None">None</option>
        <option value="Low">Low</option>
        <option value="Medium">Medium</option>
        <option value="High">High</option>
        </select>
    </div>
    </div>
</div>

Would look like this instead:

<div class="flex">
    <div class="flexbox flex">Edit location priority:</div>
    <div class="formsize">
        <div class="form-select">
        <select class="priority toggle-spinner" name="priority[1]">
        <option selected value="<?php echo $priority ?>"><?php echo $priority?></option>
        <option value="Low">Low</option>
        <option value="Medium">Medium</option>
        <option value="High">High</option>
        </select>
    </div>
    </div>
</div>

Thanks,
Ben!

@benlevydesign benlevydesign changed the title Dropkick inside modal window open direction issue Dropkick exclude "option selected" value within drop down Sep 6, 2015
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

No branches or pull requests

1 participant