React-bootstrap Questions
Ad
Which bootstrap version i should use in reactjs, getting confusion to use
I'm using plain bootstrap in reactjs, but some of the attributes are not working in reactjs so what should i do
React Bootstrap - position sticky not working
I am using react bootstrap and the class position-sticky doesn't work at all. there is not overflow at all levels. any hints?
How to add a smooth sliding transition effect to a react-bootstrap based Column component?
To summarize the problem, i am trying to work through a component that has 2 columns (react-bootstrap column component). the left container being
Displaying popover after clicking on an event in react-big-calendar
I created the event () function that it passes as a custom component to <calendar components = {{ event: event
Generating Search suggestions in React?
I am looking to generate search suggestions that match data collected, like so:
Triggering a Bootstrap Modal in React without npm react-bootstrap
I try to code a modal in react.js using bootstrap5 but i can not use npm react-bootstrap out of several reasons. i tryd an approach where i use
How to create full width dropdown with sticky items?
I need full-width dropdown and items in the dropdown must be sticky to the parent item. check screenshots. i am using react
To show/hide a Form.control based on check/uncheck from Form.check in react bootstrap
I am pretty new to react and bootstrap. i want to know - how can i control the visibility of a form.control when form.check is checked or
React Bootstrap Modal show is not working as expected
I am trying to add react bootstrap modal in my application. in one file am dropping the modal and trying to send the param to the modal class.
How to get extra properties from selected item using React DropdownButton
I'm a java developer working on a react prototype and stuck trying to retrieve the id property from the selected dropdown item, which we then
Ad
Navbar taken from bootstrap is not collapsing
I am creating a react app and used the bootstrap navbar but the navbar is not collapsing in mobile view and this looks annoying.
Handle onChange for checkbox
I have state that is false by default. when the checkbox is checked i want the state to become true.
How to create carousel items based on item count using React-Bootstrap
How can i loop through an array and based on the item count create new <carousel.item> and insert a <card>
React Streaming Through Json To Find Match: .find is not a function
I'm used to functional programming in java and have just been trying my hand at js recently. i am trying to stream through a json output that
TypeError: Cannot read property 'fixtures' of undefined, Nested Json From Fetch Call
Not the best with asynchronous calls, js or react and struggling with it... here goess.. so i am using fetch library to
How to change background color of react bootstrap modal
I want to change background color of react bootstrap modal popup. my modal code is - <modal show={this.state.show}
Controllable React Bootstrap Carousel component not working
Here is the code in the component i am getting the error at the bottom. this is where i got the controllable carousel code from:
Cannot read property 'paginationOption' of undefined in React Bootstrap Typeahead
In the todos array, it looks for an element withid 4. he writes it to the owner variable. i put the
How to install react-bootstrap v0.32.4?
How to install react-bootstrap v0.32.4? i look at react bootstrap 3 documentation, but there is only: npm install --save
Cannot see the content inside the 'Tab' component in react-bootstrap
I'm using the tabs component of thereact-bootstrap framework. when i put an example: <div>
Ad
Best Way to Center Text in Form React Bootstrap
I am wondering what is the best way to center the form.label components inside my form. i am new to react and bootstrap.
Add button to each row in react-bootstrap-table next
I would like to add a button to each row of react-bootstrap-table 2 and want to bind button click also. but now it does not work. here is
Dynamic react-bootstrap carousel breaking apart. (A valid React element (or null) must be returned.)
I will try and explain best i can. i want to create a carousel dynamically. this is the representation of my data going into making
React Bootstrap - spinner and button in one line
Hi i create a login form using react-bootstrap, mdbootstrap and formik. i want a login spinner to be shown each time user presses login button.
Wrap React-Bootstrap Scrollable Modal in Formik Form
I'm wrapping a react-bootstrap scrollable modal in a formik form in order to have the buttons in the
Styling components and react-bootstrap
I'm fairly new to react and started checking out react-bootstrap and the way the components are styled. the documentation clearly styles
How to pass data into a useState modal
I'm attempting to have an icon's state change depending on whether or not there's data present. for example, if the 'likes' counter is greater
React Carousel / Image Slider
I'm making a image slider in react jsx for profile section,bt it's not working. import react from 'react'; import awesomeslider
Upgrade React-Bootstrap from 0.31.0 to 0.32.4 ( UNMET PEER DEPENDENCY )
Im trying to upgrade my react-bootstrap version from 0.31.0 to 0.32.4. im getting a unmet peer dependency
How to implement pure client side pagination without requests to the server in react, using react-table and react-paginate components?
I am using an array of objects that comes from the server in componentdidmount method and then i save it into the state. if i change page
How can I set height of Row/Cols with % in React-Bootstrap/MDBReact?
So basically i have a little problem with setting up a height of row/cols using the % in react-bootstrap. i have a row with 8 columns(im gonna add
Ad
Webpack mixing up default and named imports
While updating some deps (react-bootstrap) i ran into a react error you likely forgot to export your component from
How can i display a logo in Navigation Bar with ReactBootstrap?
I try to make a navbar with logo for my first website. the problem i face is the fact that the logo doesnt want to display at all. the only way it
Import only grid system from bootstrap to react
I only need the grid system from bootstrap in my react app, because the default styling from bootstrap crashes my style. how can i only use the
Issue with react-bootstrap popover
I'm attempting to create a popover and the popover example provided by react-bootstrap docs is not working. i've attempted to make various tweaks
React Bootstrap CSS: I want my Container element to fill more of the entire page horizontally
In reactjs, i am creating a container with three equally sized columns. currently my code creates the three columns but they only occupy the
How to fix this error : " Module not found :can't resolve popper.js "
After import the bootstrap and jquery this error is showning when compiling. import react from 'react'; import reactdom from
How to fix this error 'Import In body of module; reorder to top import/first'?
When install bootstrap and jquery in react, this happens. (using linux deepin) global.jquery = require('jquery');
How to properly set up routes in the react-bootstrap navbar
I'm just starting learning react and wanted to create some navbar firstly, with links for not logged user and later for logged one, but i'm
Route to Search Component from React-Bootstrap Navbar Search
I have a react navbar in my main component and on there i have a search bar. i want to be able to have users type text into the search box and
Trying to use mock function when testing React component
I'm trying to learn testing, started from basic tests, now i would like to test functions. however, i went through all of the internet it feels,
When showing two modal at a time with react-bootstrap in reactjs, how to show gray area above the first modal and below the second modal?
I am showing two modal at a time in my react application. currently it's working fine and looks like this.
Ad
How to place a tooltip for the react-bootstrap tab component
I have three tabs , i need to place a tool tip on hover on those tabs,i am using bootstrap tabs.(its a react application.) import
React-Bootstrap FormControl select not getting the value displayed
Import { form } from 'react-bootstrap' const namearray = [ { "id": 52655, "firstname": "raj", "lastname": "",
React bootstrap Carousels component not working up getting error
React-bootstrap carousels not working import react from 'react'; import carousel from 'react-bootstrap'; class homeslider extends
React hooks how to set focus on InputGroup from a child Form.Control
I'm trying to set focus on <inputgroup> element from his <form.control> child using useref
Load Reactjs Bootstrap styling
I'm very new to reactjs. there is a third-party library called
form.submit callback not getting invoked
I'm using the react-bootstrap-typeahead module in one of my application. this is working fine, except in one case. i'm not able to submit
how to hide empty label in react-bootstrap-typeahead
I'm using react-bootstrap-typeahead module in one of my application. this is working fine, except in one case. i'm not able to submit the
How to prevent duplicate Modal Popup & not scrolling to last element in ReactJS
I'm creating a project where i fetch data from server & render 10 data in 10 different bootstrap card using
How to validate Forms Controls to use only numeric values with react-bootstrap
I need to allow only to enter numeric values in my form.control with react-bootstrap. also, i need to give a maximum length to the control.
react-bootstrap onSubmit doesn’t bind correctly
I’m trying to write an express app using express-react-views and react-bootstrap. i haven’t gone about this the
'Collapse' is not defined react/jsx-no-undef
I am new in react, now i am trying to do sidebar and hide show collapse menu item. here is function=> collapsemetoggle(){
Ad
Trying to set state from another component so that my modal can pop up
Hi i have two components exportreportroomselectionmodal & header both have their own logic and state. i want to open
Can't call setState function in onSubmit of Formik
I'm trying to add an alert every time i submit my form. i tried to pass my state as a prop to my component but that doesn't seem to work.
React Bootstrap - how to animate ProgressBar when value is increasing but not when resetting to 0%?
I'm using the react bootstrap progresbar component
How to make react bootstrap tooltip to fit into container?
I am making a simple react app for which i am using react-bootstrap. here i am trying to display a very very simple tooltip using
Display react Bootstrap Popover when click on a cell in react-bootstrap-table 2
Design the section with react-bootstrap-table2. i just want to show popover with options on clicking the particular cells. is there any way to
What is the difference between importing a package after installing it or including it in index.html when a new react application is created?
When, we use create-react-app while creating a new react application. it creates multiple files. out of which index.html is the rendered html
Make react-bootstrap Alert invisible initially
I am using versions: [email protected] [email protected] i am trying to create an alert that is initially
How to load images from public directory in child component?
I wanted to load images put under public directory in my react repository. it would be loaded automatically if i put all
Is there a way to include the react-select dropdown near the body tag
I have react-select included in my react application which is using react-bootstrap. so i have a bootstrap modal, and the react select
How to uploading file with ReactJS and Axios
Using react-bootstrap form for post a file and some data: <form onsubmit={this.handlesubmit} >
How do I assign values to states once I open my edit form?
I'm trying to create my first simple crud front-end app in react. i have some problems with the edit form. whenever i display the edit
Ad
Button click pops up all the modals instead of showing only one
I am passing data to the modal from a parent component. i show the modal on a button click. but the modal body doesn't contain the desired data.
React-bootstrap button animation will not work and button wont center
I have a react-bootstrap component and the loading animation will not play. also, the button wont center. i can use margin-left:
How to extend TS annotations from external .d.ts file?
I am using react with react-bootstrap framework and i don't know how to use types from react-bootstrap in my component. example of my
How to update classNames in React properly?
On scroll down i have added and removed certain classes. i want to revert the classes back on scroll up. how can it be done using only
React-bootstrap ToggleButtonGroup uses old value when calling
I have a form using togglebuttongroup from react-bootstrap. i need to change some text values in the form based on the value selected
Unable to use bootstrap-react modal in stateless function
What i want to do is add bootstrap-react modal and fire it from a stateless function. all the examples i can find requires changing the "show" in
Toggle columns on react-bootstrap-table2
Using this library
AsyncTypeahead results are not being displayed on screen
I have been trying to integrate the asynctypeahead functionality from the react-bootstrap-typeahead library. i am trying to use this with the
Conditional statement to show registration success message is showing the error message even when successful?
I wasn't sure how to phrase the title but basically, i am following a tutorial to create a login/registration and i am currently trying to display
React-bootstrap button with icon
I can add a button with text in react-bootstrap using code like <button
lerna monorepo package structure
I am building a monorepo for a suite of react apps, and common library code. one of the packages would be a component library.
Ad
Module not found: Can't resolve 'bootstrap/dist/css/bootstrap.css' in 'C:\Users\test\counter-app\src'
I'm new to react js. i'm trying to create a component. for that i've installed bootstrap (version 4.1.1) which is successfully installed.
Align progress bar equally along a circle
I need to develop below component in reactjs. the circle in the middle is just the average (which is a div element) and
Error when rendering Nav.Link in [email protected]
I'm not sure what i'm doing wrong. i pasted this example code directly from react-bootstraps official page and i can't get it to work. the strange
How to customize backgronud and color of tabs?
I'm newbie with react and react-bootstrap and i would like to customize background of a tab
ReactJS Bootstrap Navbar and Routing not working together
I am trying to create a simple webapp using reactjs, and i wanted to use the navbar provided by react-bootstrap. i created a
failes to open modal component from another component
I'm trying to open modal (extends component) from another component (that extends react.purecomponent) react.purecomponent. i'm new to
How to pass view from Child Component to Parent in React JS?
I am having a parent component(container) where am displaying products in a table, on clicking header cells, am calling a modal window which is
Panel.Heading color change
I have this part of code: <panel> <panel.heading> <panel.title toggle> hello
Change class of Element inside Modal
I am trying to change the attribute "class" of an div-element inside a modal on a button click (the button is not in the modal), while the modal
how to add checkbox to cells in react bootstrap table2 header cells?
I am using react-bootstrap-table-next and wanted to add "checboxes" to some of the header cells. i referred to the documentation-
Choose item from Navbar - item stays highlited
I have simple navbar like this: <navbar.collapse> <nav> <navitem eventkey={1}
Ad
How to use Multi-Select Dropdown in react-bootstrap
I am using react-bootstrap library. this library having a module called dropdownbutton. so i am able to display
Panel.Collapse in React-Bootstrap v1
I am migrating from react-bootstrap v0.32.4 to v1.0.0-beta.5 and
How to pass values from a component into Formik multi-step form wizard?
As the title said. i have a stateless component based on react-bootstrap-typeahead and a form wizard based on the
How to change the border color of a single row in react-table
I know how to change the background color of a row in a reacttable object (code below). how do i change the color of the
Render new react component on button click event
I am a newbie to react. i have been trying to render new component. i have two files consisting of two different components. fmueditor.js and
React-Bootstrap form validation - Need one function per field?
I am using the react-bootstrap forms. i have around 15 fields that need to be filled out in the form. does this mean i need to have 15 validation
How do I make my React Bootstrap cards line up horizontally and equally spaced (also responsively if possible)
I am using reactstrap and displaying my cards dynamically and they seem to want to stack vertically no matter what i try. here is the component in
React Sidenav - Bootstrap 4 & Material Design not working
I have tried to implement the sidebar with navigation from mdbreact to use bootstrap and material design. i have just copy pasted the
React pass object by routing?
What i want to do is set routing to my object. for example: i set routing for: http://localhost:3000/projects
How to make onClick event in NavBar in react?
I'm making my first react project. i'm new in js, html, css and even web app programming. what i'm trying to do is to display some
Display a new component with button click
Im making my first react ptoject. im new in js, html, css and even web app programing. what i try to do, is to display some infomration on
Ad
How to make a row responsive using bootstrap in a react-application?
Whenever i make the size smaller, my input type text always goes below when making the screen smaller but my
React-Bootstrap: Why renders the Alert component the text differently if the text is stored inside a state variable?
I am using react-bootstrap that targets bootstrap v3 and i am using the alert component to show messages to the user. furthermore i need
Ad
Blog Categories
Ad