react-bootstrap-table / react-bootstrap-table2

Next Generation of react-bootstrap-table
https://react-bootstrap-table.github.io/react-bootstrap-table2/
MIT License
1.27k stars 431 forks source link

How to remove label 'Filter by' ? #1794

Open oleg41068 opened 1 year ago

oleg41068 commented 1 year ago

i'm run example https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/basic-filter.html How to remove label 'Filter by' ?

basiliskarakitsios commented 1 year ago

Did you find a solution?

JaewukLee-E commented 1 year ago

https://stackoverflow.com/questions/19758598/what-is-sr-only-in-bootstrap-3

Maybe It happend because there was no '.sr-only' css. I added custom css file in react project and wrote below

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

My case, It works

PetarPan commented 1 year ago

@JaewukLee-E This is working, thanks a lot, just add that class in your css. How did you figure it out? :)