I've been trying this one all day, to no avail
I wanted to test a 'modal' pop up form
I know that in the form section in Power Apps, every section has a label where we can add HTML code, although there is a limit, so the code further below won't fit it all
I also tried adding the code in Javascript, however it will always say 'unexpected <', I guess because I'm trying to add HTML to the Form settings Javascript section
It also complained about "JSX expressions must have one parent element", although I framed the div area with the below as advised here How to Fix “JSX expressions must have one parent element” in React - Kinsta® Power Pages wouldn't make the modal form work
<React.Fragment> and </React.Fragment>
Where and how would I add the below code so it works?
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
Launch demo modal
</button>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
Source of Bootstrap JavaScript · Bootstrap (getbootstrap.com)