All Questions
Tagged with materialize reactjs
267 questions
0
votes
1
answer
37
views
Sticky Footer Works in HTML project but doesn't work in React Project
I am building a Web Application using React. I created a html "Sandbox" of sorts to play around with the design and feel so I could easily show my bosses what it would look like and how it ...
0
votes
1
answer
433
views
How do we change the cursor starting position of a text field component of Material UI (Version 5.14.6)?
How do we change the cursor starting position of a text field component of Material UI? We are using the latest version of material UI and we are using Test Field component in my project but the ...
1
vote
3
answers
835
views
React-leaflet don't show correctly in Modal
everyone! I try to use react-leaflet in my React Project with Materialize style. When i open Modal component i don't see map. I installed npm install react-leaflet, also added in index.html <link ...
-2
votes
1
answer
43
views
I don't know why, when I Import materialize has problems Material UI REACTJS
Before, when i don't import materialize
it's ok
not import materialize
After, when i imported materialize in index.js it broke my page like this
the page have a container grid 12 column but i don't ...
5
votes
1
answer
372
views
Why are my icons being placed as a column instead of as a row?
I am trying to align these icons as a row using className="col s1" but when I run this code its displayed in a column for some reason. I've tried removing the container tag, adding it, ive ...
1
vote
3
answers
6k
views
How to disable certain days and dates in MUI react datepicker based on a json array?
I have Laravel app that returns a json response of dates and days of the week that should be disabled in the datepicker
For example this is my datesOff constant when I console.log() it ['2022-05-08', '...
0
votes
0
answers
110
views
Why is the materializecss checkbox not showing up? React
The checkbox is displayed if added simply to html, if added via useState, then it is not visible. Please tell me how to add an element to the page correctly so that it is displayed correctly and in ...
0
votes
1
answer
85
views
How to Initialize Materialize Dropdown Button in React?
I have this code, and am trying to get the dropdown button to work. I can get the button to appear but nothing happens when clicked.
import React, {useContext} from 'react';
import {Link, useNavigate} ...
0
votes
0
answers
70
views
The FAB edit button opens modal but when select value is clicked on it closes modal
3.19.22
IT-Logger App issue
Author Greg Petropoulos
Problem Statement:
When the authenticated user hovers over the FAB the black edit button appears and is clicked on to show the modal and make a ...
-2
votes
1
answer
1k
views
what is the equivalent to componentDidMount outside of class element?
I am trying to make a React component that will take data from an API and generate a number of collapsible FAQ cards. I can get the the questions to map properly on the page, however I cannot seem to ...
0
votes
1
answer
226
views
How to map data to react component?
I have data returned from the backend now i am trying to map it to react component which is throwing an error Cannot read property of null what is correct way to print keys in the div or card , i have ...
0
votes
1
answer
113
views
How to apply CSS styles to my <Loader /> React component?
I have a code for my button written for my React web application. There i have a ternary operator which shows Loader if it loads and shows children if it is loaded. I'm using Materialize CSS library ...
0
votes
1
answer
425
views
Upgrade Materialize 1.0.0 -> 1.1.0
I'm working on a React tutorial project, that was using Materialize 1.0.0
The old code imported the css and js files straight from the materialize-css package like this:
import 'materialize-css/dist/...
0
votes
1
answer
96
views
MaterializeCSS carousel methods stopped working after I updated my Node JS
I am working on a React project that has a materialize-css carousel. However, I noticed that after I updated my nodeJS from 14.8.1 to 16.13.0, I keep getting these errors:
TypeError: Cannot read ...
1
vote
2
answers
3k
views
Is there a way to use Materialize CDN with Next.js?
I am building a Next.js application and would like to use Materialize CDN with it. In React, I would just add the CDN links in the public/index.html file and would be good to go. Next doesn't seem to ...