Correction, it does work for checkboxes if you use this override:
Ext.override(Ext.form.field.Checkbox, {
stateEvents: [
'change'
],
applyState: function (state) {
...
Type: Posts; User: incutonez
Correction, it does work for checkboxes if you use this override:
Ext.override(Ext.form.field.Checkbox, {
stateEvents: [
'change'
],
applyState: function (state) {
...
This thread definitely helped me... here's an example of using what LizMyself mentioned.
FYI, I reported this to Sencha Support, and their response was that before 6.5, enableKeyboardMode false was the intended functionality. This seemed odd that they removed the functionality in 6.5,...
If you don't care to copy the images, put the @include inside of the Ext sass directory. e.g. my package's sass dir is split between the package and Ext...
sass > src
- Ext
- MyPackage
...
It's recommended that you add a container with the proper layout (or you can set display inline-block for checkboxes/radiofields, but you must specify their width), like in this Fiddle. Note that if...
This is still an issue in 6.6. Has there been any update on this, or does anyone have a patch?
This does not seem to work for a checkbox.
This is still an issue 3 years later... is there any update? It seems comboboxes are the only ones that respect binding and state values.
In the Ext.mixin.Observable:on documentation, it mentions a delegate example, but I couldn't find one on that page, so I'm not sure where it's saying this is. The docs should either have the example...
This looks similar to how I did it... the only caveat I have is, I had to add a MIME type for .pkg, as I was getting 404s. Now our TeamCity server builds the packages, wraps them in a nupkg, pushes...
This helped me with my issue... thanks for pointing this out!
Right, right, prototypical inheritance... clearly I don't deal with native JS enough. Thanks Evan.
Interesting read, thank you for that.
Okay, that definitely makes sense. Now, why is it that the next instance has the previous items in it? Is it because the class's definition (which is an...
I have an Ext JS class that I've defined. In this class's constructor, I push a textfield onto my items array, and I add to my test string. Both the array and string are declared as empty in the...
Oh, right, I totally forgot about simulating user actions... yeah, makes sense. Thanks for clarifying, evant!
Man, y'all have a treasure trove of regression unit tests created for you! I realize they might not be the best quality, but at least a quick run against what was reported in a bug would be more...
Thanks for verifying, Tristan. Looks like 6.2.0 has a bunch of bugs introduced... I'm curious, with all of these reported issues that get solved, do you use them for regression testing, so this...
I'm trying to base64 decode response text, but I don't want it to decode from UTF-8. I see in the decode method that the final step is to UTF-8 decode. If my intended string is going to be...
According to a Support Ticket I opened, this is a bug (EXTJS-17166), which is in the code review status, so it should be fixed relatively soon.
Oh, I see. Ha, duh, I should've thought of that. Thanks Mitchell!
On Sencha Fiddle, in Firefox 50.1.0, when I go to pick a different version of Ext JS, I can't. Clicking the collapse/expand button just makes the combobox disappear. However, I can select a...
Hello Scott. In order to do a custom bind on a property, you would need to create your own setter. Have a look at this Fiddle for regex... you'll see that the console.log shows the bound value, and...
I realize this is a closed thread, but I ran across this issue today... I basically want an auto layout, comparable to a container with an auto layout and a grid... it'll create a height based off...
In Ext JS 6.2.0, I noticed that the checkOnly property for a checkboxmodel is not working properly in Firefox (49.0.2). In the below Fiddle, when you try to check the box in Firefox, it's almost as...
I see that setRootNode is deprecated, and it says to use setRoot instead. Unfortunately, it looks like setRoot doesn't appear in the methods nor the configs.root setter/getter, and clicking on the...