You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, where did you put those lines of code, in wich file?
Try to put the code provided by you on the main .ts webpart file not .tsx
I have placed mine just after the last import {...} from "...."; line and out of the default webpart class.
Thanks for the answer.
I moved it to the ...WebPart.ts after the last import {...} from "...."; line
I did not understand "and out of the default webpart class." did you mean the main TSX file? then I did. (not using classes)
Anyway it did not make a difference. Still shows the defaults.
Also,
I question the usability of having just one central setting.
For the "inputPlaceholderText" property I can use the controls "placeholder" property so each PeoplePicker will have its own message.
But for the "maxSelectionsPlaceHolder" There is no control property to specify but a developer may want a specific message for each PeoplePicker. Say "No more users" Vs "no more Guests"
I added
Still shows the default values.
String name Default value
inputPlaceholderText Search for a name
maxSelectionsPlaceHolder Max contacts added
I use react in a SPFx webpart and MGT 4.2.1
Please help
The text was updated successfully, but these errors were encountered: