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

Autocomplete: should have a value option #349

Closed
jmsmyth opened this Issue Nov 10, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@jmsmyth
Copy link
Contributor

jmsmyth commented Nov 10, 2016

Context

hx.AutoComplete has a value() method for setting/getting the contents of the input field. There should be an accompanying value option as well for initialling with a value.

Expected Behavior

const autocomplete = hx.autoComplete(['red', 'green', 'blue'], {value: 'green'})
autocomplete.value().should.equal('green')

@c-frater c-frater added this to the Pre 2.0.0 milestone Jul 6, 2018

@c-frater c-frater referenced this issue Jul 10, 2018

Merged

feature(autocomplete): Add the value option #494

6 of 6 tasks complete

@c-frater c-frater self-assigned this Jul 10, 2018

@c-frater c-frater added the In Review label Jul 10, 2018

@c-frater c-frater closed this Jul 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment