Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

Set first element as empty (or hint text) #19

Open
scottyab opened this issue Jan 13, 2016 · 2 comments
Open

Set first element as empty (or hint text) #19

scottyab opened this issue Jan 13, 2016 · 2 comments

Comments

@scottyab
Copy link

Allow first / default selected spinner item to be empty and/or contain hint text. i.e "please choose an option". Once a value is selected the empty selection is removed so it cannot be reselected. This enhancement maybe a little project specific?.

@farbodsz
Copy link
Owner

I definitely agree with this!

There could be an XML attribute such as ls:defaultItem, and a Java method setDefaultItem(CharSequence text).

I'll see if I can add it in soon.

@farbodsz farbodsz changed the title Add ability to have first element as empty Set first element as empty (or hint text) Jan 13, 2016
@farbodsz farbodsz self-assigned this Jan 13, 2016
@farbodsz
Copy link
Owner

farbodsz commented Jun 9, 2016

Hi @scottyab ,

I just wanted to let you know I haven't forgotten about this and I was working on the feature in February. I have been studying for exams at school which is why I haven't had time to work on the feature or update this library in a while.

I'll try to work on it again in a couple weeks time.

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

No branches or pull requests

2 participants