marcoroth/turbo_power

Implement `input_select` action

marcoroth opened this issue · 0 comments

Action signature:

turbo_stream.input_select(targets, **attributes)

Or rather select_input? 🤔

Example Turbo Stream Element:

<turbo-stream action="input_select" target="item_1"></turbo-stream>

Action content:

target.select()

Reference: