Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Add inForm attribute #1279

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

Add inForm attribute #1279

wants to merge 1 commit into from

Conversation

oslo10e
Copy link

@oslo10e oslo10e commented Oct 28, 2015

When in-form="true" is set in ui-select, then when pressing on ENTER key and if dropdown list is not open, it does not open dropdown list and event propagation is not stopped, so parent form "submit" event is triggered as in any input other field.
See example of use in demo-in-form.html

@aaronroberson
Copy link
Contributor

@oslo10e Can you achieve this functionality without introducing a new attribute?

@wesleycho
Copy link
Contributor

This could also probably use a unit test.

This also needs to be rebased.

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

Successfully merging this pull request may close these issues.

3 participants