React

Custom Label with multiple styles in TextField of Fluent UI

By default Fluent UI TextField component as a label for the field renders plain text and you can not apply multiple styles to several parts of it. But if you want to write a comment after the field name, for example, (maximum 50 characters), you can’t do it. Read more»

TypeScipt / Javascript

Send props from Child class component to Parent state component in React App

In this example here will be the mixed scenario. The parent component has states, and the child component. It’s the mixed implementation. Of course, usually you make everything in the same style, but there are situations, when you need the mixed implementation. Read more»

React

Fix the warning ‘The value provided to Autocomplete is invalid’ for MUI Autocomplete

Material UI

For the development of a Ract component I used MUI Autocomplete. I got the array of objects from SharePoint list and used this data as a parameter for options. Actually, you can use any source.But I had a lot of warnings in console. MUI: The value provided to Autocomplete is invalid.None of the options match […] Read more»

React

Must have for any SFPX solution

SharePoint 2016 Logo

Here I will write down the steps for creating projects for SPFX solutions. The prerequisites – Node, Yo and spfx-fast-serve are already installed. Read more»

SharePoint

Vite vs Create-react-app

Today I talked to my colleague about the speed of Hot Reload when developing React applications. I told him that I tried launching from WSL and that everything updates faster. This is about pure React, not for SPFX. I was asked how I created a project and how it works for me. And it turns […] Read more»

TypeScipt / Javascript

How to replace deprecated InputLabelProps in MUI 6

Material UI

I used a TextField component in MUI and wanted to make a label always visible. By default, it hides, when cursor is out (onBlur) and the value is empty. Very strange and not what I wanted to. Read more»

React

MUI DataGrid in SPFX solutions

Material UI

I used Material UI DataGrid (@mui/x-data-grid”: “^7.12.1”) in SharePoint spfx webpart solution. Obviously, that wasn’t a good decision, but too much was already done. Read more»

SharePoint

Effective join of array of objects with filtering by condition into a string

To pass parameters via Get, it was necessary to assemble a string from the selected Checkbox values. In the project, I used Checkbox from Fluent UI, but the approach is similar for another component. Actually, this is not even about React, but about TypeScript. Read more»

React

German localization of FluentUI DatePicker

DatePicker with German localization

As it turned out, FluentUI DatePicker for React doesn’t contain a built-in German localization. If you need one, you can use my version. Read more»

React

Popular Posts