How do I stop the 'Show X Entries' dropdown from automatically opening up in a Semantic UI Modal
How do I stop the 'Show X Entries' dropdown from automatically opening up in a Semantic UI Modal
hm123
Posts: 84Questions: 27Answers: 1
For some reason, when I open a DataTables table within a Semantic UI modal, the 'Show X Entries' (PagingButton) is opens up by itself without being clicked.
How do I stop this behaviour?
Jsfiddle:
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This is the default behavior. Semantic UI puts focus on the first object. To turn this off, use the autofocus= false;
https://semantic-ui.com/modules/modal.html#/settings
Thanks bindrid
All it took was as you said:
https://jsfiddle.net/poosbq7t/