I managed to follow the instructions at Customizing EditTemplate field rendering to use a <$select ...>
widget as an editor for one of my fields.
Everything seems to work fine except the tab index.
When tabbing through the field entries, it skips over my new <select>
and goes on to the next field. If I have patience, I can continue to tab and get through the fields, the sidebar, the tiddler toolbar, all the editor toolbar buttons, the remove-field buttons for the preceding fields and finally my widget. Then it continues to the succeeding remove-field buttons. That kind of patience is a virtue I don’t want!
Riffing on $:/core/ui/EditTemplate/fieldEditor/default I added tabindex={{$:/config/EditTabIndex}}
to the widget, but it made no difference.
You can see this in action by downloading the following and dragging it to a wiki, then clicking on the added toolbar button (“Create a new Document Link”) and tabbing through the field entry section.
SelectFieldEditor.json (2.6 KB)
Any suggestions on how I can fix this?