Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
How to load remote url in react-bootstrap modal component?

How to load remote url in react-bootstrap modal component?

Below is my code.

var React = require("react");
var Router = require("react-router");
var ReactDOM = require('react-dom');
var ReactBootstrap = require('react-bootstrap');

render():{
    return (
        <Modal ref={(c) => this.modal = c} onHide={this.hideModal} show={this.state.htmlShow} >
            <Modal.Header closeButton>
              <Modal.Title id="preview-modal-title-lg">{this.state.htmlTitle}</Modal.Title>
            </Modal.Header>
             <Modal.Body>
                Want to load html data by calling a html file 
             </Modal.Body>
             <Modal.Footer>
               <Button onClick={this.hideModal}>Close</Button>
            </Modal.Footer>
        </Modal>
    )
} })

I want to set the url dynamically. I wonder whether React-Bootstrap Modal can load the remote url. In plain bootstrap modal, this is possible. Is there any nice way to do this in react-bootstrap modal component?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!