I've posted one issue and two enhancements:
http://code.google.com/p/primefaces/iss ... %20Summary
http://code.google.com/p/primefaces/iss ... 20Summary
http://code.google.com/p/primefaces/iss ... %20Summary
Issues in PrimeUI
-
- Prime
- Posts: 18466
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Ok, thanks
You don't need to double post there and here though.

-
- Posts: 1
- Joined: 14 Nov 2019, 17:10
0
As a proof of concept I'm trying to use PrimeUI as a basis to build React components. There is an article explaining how to do it by Michael Guterl. It works in JSFiddle
but I'm unable to make it work from the inside React application. The error I have 'piudropdown - is not a function' indicates that primeUI is not picked up or somehow not applied. Obviously, I have jquery, jquery-ui and primeui dependencies in package.json. I also can see some primeui related staff in my bundled js file, therefore it is included. So does anyone have any ideas what could be wrong or missing? Is there any suggestions how to debug that sort of issues?
As a proof of concept I'm trying to use PrimeUI as a basis to build React components. There is an article explaining how to do it by Michael Guterl. It works in JSFiddle
Code: Select all
var Component = React.createClass({
componentDidMount: function() {
var themes = new Array('afterdark', 'afternoon');
$(ReactDOM.findDOMNode(this)).puidropdown({
data: themes,
editable: true
});
},
render: function() {
return <select / >
}
});
ReactDOM.render( < Component / > , document.getElementById('container'));
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests