Comments (2)
Solved problem by using id parameter in Pjax widget instead of creating my own
from yii2-widget-select2.
Hi. I'm using the widget with ActiveForm like in the demo examples on your page. But when I submit the form and get it reloaded, the select2 fields are spinning all the time. The fields are not loaded completely as full pretty Select2. In returned page code I see just an input with value. I can see the id I've selected by value before through the 'pluginLoading' => false -- in this case the field is displayed as simple input with Id of previously selected item.
I've just thought it looks like the same issue. Could you describe the answer you found out more completely?
Thanks.
from yii2-widget-select2.
Related Issues (20)
- search inside modal dialog (BS5 new) HOT 5
- syntax error, unexpected '?' HOT 5
- Search not auto focusing in jQuery 3.6.0 HOT 1
- Create new theme krajee-bs5 for Bootstrap 5.x HOT 1
- Style out of place after update to V2.2.3 HOT 6
- When using tags, searched value appears as option and prevents Select-All HOT 1
- Standardize Krajee theme for each BS version & other style enhancements
- "Uncaught RangeError: Maximum call stack size exceeded" When using select multiple HOT 1
- "Select All" / "Unselect All" not shown when property hashVarLoadPosition is View::POS_READY (some options does not pass from PHP to JS)
- Release 2.2.4 HOT 2
- Error when using Select2
- Select2 select box lost CSS HOT 1
- Update multiple select styling Krajee BS5 theme
- How to encode space char? HOT 1
- Select2 does not allow you to enter text into the input if set to multiple => false But all OK if multiple => true
- Demo url not found , error4040 HOT 1
- Validation rule not work properly
- Yii2 Select2 Always Showing Placeholder Instead of Database Values
- Select2 error when using plugin option "allowClear"
- When I select an element from select2, it does nothing. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-widget-select2.