lotte icon indicating copy to clipboard operation
lotte copied to clipboard

Choosing from a select

Open Jimmerz28 opened this issue 12 years ago • 4 comments

Is it currently possible with Lotte to choose an <option/> from a <select/>?

I saw in Ghostbuster there was a select page control to do this, but didn't see anything referencing it here.

Thanks!

Jimmerz28 avatar Sep 21 '13 18:09 Jimmerz28

Can you give me an example of what you are trying to accomplish? Do you want to be able to select an <option /> based on its value or text? Can you post the Ghostbuster documentation/example using the select control?

StanAngeloff avatar Sep 23 '13 07:09 StanAngeloff

Correct I'd like to be able to select an option based on it's value. Wasn't sure from the examples for lotte if that was possible currently.

@body.select "#sel", "test3"` 

would be an example from test/working_ghost/test_ghost.coffee line 30.

Jimmerz28 avatar Sep 23 '13 17:09 Jimmerz28

Unfortunately this is not implemented yet. It shouldn't be too difficult. I'll mark the issue as an enhancement and may work on it in the near future. If you come around to a patch before me, please send in a pull request.

StanAngeloff avatar Sep 23 '13 18:09 StanAngeloff

Sure thing, thanks.

Jimmerz28 avatar Sep 23 '13 18:09 Jimmerz28